• 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
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    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

  • What You Will Find In IBM i 7.6 TR1 and IBM i 7.5 TR7
  • Three Things For IBM i Shops To Consider About DevSecOps
  • Big Blue Converges IBM i RPG And System Z COBOL Code Assistants Into “Project Bob”
  • As I See It: Retirement Challenges
  • IBM i PTF Guide, Volume 27, Number 41
  • Stacking Up Power11 Entry Server Performance To Older Iron
  • Big Blue Boosts IBM i Support In Instana, Adds Tracing
  • It Is Time To Tell Us What You Are Thinking And Doing
  • IBM i PTF Guide, Volume 27, Number 40
  • The GenAI Boom Is Only Slightly Louder Than The Dot Com Boom

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