• 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:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags:

    Sponsored by
    Lightedge

    Your IBM Power Cloud Strategy Should Start With “Why?”

    Moving IBM i to the cloud isn’t just an infrastructure decision.

    A hardware refresh, data center exit, IBM i skills gap, disaster recovery requirement, or broader cloud initiative can each lead to a very different architecture.

    At Lightedge, we start by understanding what you’re trying to accomplish. Then we look at the workload, application dependencies, resiliency requirements, operating model, and long-term strategy to determine where that workload belongs.

    Managed IBM Power cloud? IBM Power Virtual Server? DR in the cloud? A hybrid architecture connecting IBM Power with AWS or Azure?

    There isn’t one right answer for every IBM i environment.

    Start with the business requirement. Understand the workload. Then decide where it belongs.

    Explore IBM Power cloud, managed services, and hybrid solutions from Lightedge.

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) 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!

    Why Node.js? Refacing Your Database, Part 3

    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 ReplyCancel 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

  • Will Power Chips Get A Converged Arm Instruction Set Like Z Mainframe CPUs?
  • Thinking About Moving IBM i To The Cloud? Don’t Start With The Quote
  • Precisely To Add Ransomware Protection In MIMIX 11
  • It’s D-Day For Cybersecurity, AI Firms Warn
  • IBM i PTF Guide, Volume 28, Number 30
  • Oracle Dips A Toe Into IBM’s EBCDIC World
  • When Your Small IBM i Team Is Really A Team Of One
  • Guru: Putting Failure Handling In Its Place
  • Inside The Security Enhancements In ACS
  • IBM i PTF Guide, Volume 28, Number 28: A Crazy Number of Security Vulnerability Patches

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