• 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
    DRV Tech

    Get More Out of Your IBM i

    With soaring costs, operational data is more critical than ever. IBM shops need faster, easier ways to distribute IBM applications-based data to users more efficiently, no matter where they are.

    The Problem:

    For Users, IBM Data Can Be Difficult to Get To

    IBM Applications generate reports as spooled files, originally designed to be printed. Often those reports are packed together with so much data it makes them difficult to read. Add to that hardcopy is a pain to distribute. User-friendly formats like Excel and PDF are better, offering sorting, searching, and easy portability but getting IBM reports into these formats can be tricky without the right tools.

    The Solution:

    IBM i Reports can easily be converted to easy to read and share formats like Excel and PDF and Delivered by Email

    Converting IBM i, iSeries, and AS400 reports into Excel and PDF is now a lot easier with SpoolFlex software by DRV Tech.  If you or your users are still doing this manually, think how much time is wasted dragging and reformatting to make a report readable. How much time would be saved if they were automatically formatted correctly and delivered to one or multiple recipients.

    SpoolFlex converts spooled files to Excel and PDF, automatically emailing them, and saving copies to network shared folders. SpoolFlex converts complex reports to Excel, removing unwanted headers, splitting large reports out for individual recipients, and delivering to users whether they are at the office or working from home.

    Watch our 2-minute video and see DRV’s powerful SpoolFlex software can solve your file conversion challenges.

    Watch Video

    DRV Tech

    www.drvtech.com

    866.378.3366

    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

  • The Power11 Transistor Count Discrepancies Explained – Sort Of
  • Is Your IBM i HA/DR Actually Tested – Or Just Installed?
  • Big Blue Delivers IBM i Customer Requests In ACS Update
  • New DbToo SDK Hooks RPG And Db2 For i To External Services
  • IBM i PTF Guide, Volume 27, Number 33
  • Tool Aims To Streamline Git Integration For Old School IBM i Devs
  • IBM To Add Full System Replication And FlashCopy To PowerHA
  • Guru: Decoding Base64 ASCII
  • The Price Tweaking Continues For Power Systems
  • IBM i PTF Guide, Volume 27, Numbers 31 And 32

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