• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Dealing With Library Lists In RDi

    May 3, 2016 Ted Holt

    Note: The code accompanying this article is available for download here.

    Today I follow up on a topic that Susan Gantner covered a few years ago, namely, how to more easily manage the library list while working in Rational Developer for i (RDi). It turns out that a couple of commands I wrote for green-screen work years ago are even more useful in my GUI development environment.

    When you start RDi, the library list is set according to your user profile, but you can override the initial library list in the connection properties. As you work, you may want to add and remove libraries. One way to do that is to right-click on the Library list entry under your connection in the navigation pane.

    You can also right-click on the name of a library to get a similar menu.

    If you want to do major surgery to the library list, you can run the Change Library List (CHGLIBL) command within the RDi session.

    So where’s the middle ground? What if you only want to add a few libraries to the top of the library list without replacing the entire list?

    Years ago–I think it was even before WDSc came on the scene–I wrote two commands to allow me to quickly add libraries to the front or end of the library list. They have served me well–and continue to serve me well–in the green-screen world, and I find them even handier in RDi. The commands are LLF and LLL. The first two letters stand for library list and the last letter is short for first and last.

    Here are some examples:

    Command

    Description

    LLF MYLIB

    Add MYLIB to the top of the library list.

    LLF (MYLIB
    YOURLIB)

    Add MYLIB and YOURLIB to the beginning of the library list. MYLIB
    precedes YOURLIB.

    LLL (MYLIB
    YOURLIB)

    Add MYLIB and YOURLIB to the end of the library list. MYLIB precedes
    YOURLIB.

    The downloadable code contains source code for five objects: four commands and a CL program.

    LLF

    command

    LLL

    command

    LLC

    the CL command-processing program

    MOVPGMMSG

    Brian Rusch’s outstanding interface to the
    QMHMOVPM API

    RSNESCMSG

    Brian Rusch’s outstanding interface to the
    QMHRSNEM API

    I hope you find these commands useful. Adding a half dozen libraries to the library list through a context menu is for the birds.

    Ted Holt welcomes your comments and questions. Email him through the IT Jungle Contacts page.

    RELATED STORIES

    Dealing With Library Lists In RSE/RDP

    Get Connected With Remote Systems Explorer

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Rocket Software

    Unlock the full potential of your data with Rocket Software. Our scalable solutions deliver AI-driven insights, seamless integration, and advanced compliance tools to transform your business. Discover how you can simplify data management, boost efficiency, and drive informed decisions.

    Learn more today.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    COMMON:  2016 Annual Meeting & Expo, May 15 - 18, in New Orleans! Great Power Systems event!
    NGS :  Webinar: Realizing the Power of IBM i with NGS-IQ. May 11. RSVP now!
    Profound Logic Software:  'i on the Enterprise' Worldwide Virtual Event. June 8. Register Now!

    Good IBM i Ideas From Wisconsin See The IBM i Access You Never Heard Of

    One thought on “Dealing With Library Lists In RDi”

    • Steven Easton says:
      January 5, 2021 at 3:20 pm

      Thanks for article
      https://www.itjungle.com/2016/05/03/fhg050316-story02/
      Click on command log, type in any command, click run.
      You can also put the library list change in a user action.

      Reply

    Leave a Reply Cancel reply

Volume 16, Number 10 -- May 3, 2016
THIS ISSUE SPONSORED BY:

Bug Busters Software Engineering
Rocket Software
UCG Technologies

Table of Contents

  • Why Node.js?
  • Dealing With Library Lists In RDi
  • Refacing Your Database, Part 3

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle