• 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 RSE/RDP

    January 23, 2013 Susan Gantner

    I’m happy to say that I’m hearing from more and more people who are beginning to finally break away from SEU to use Remote Systems Explorer (RSE) in Rational Developer for Power Systems (RDP). Perhaps the fact that IBM finally stopped updating SEU for new language features as of V7.1 has caused more shops to consider the move.

    I heard from one newbie RSE user the other day with fairly common issue; he wanted to know how to deal with library lists in the RSE environment? In his case, he has a few different library lists due to various packages installed in the shop and he was trying to find a good way to switch back and forth among them.

    He knew how to change his default library list via the Connection or Subsystem Properties dialog. I covered this in a tip years ago for WDSC, but it is still equally valid for RDP.

    And he knew how to dynamically change his library list by interacting with the library list filter in RSE. But switching between the three or four commonly needed lists quickly and easily was a struggle for him.

    I’ve seen two commonly used techniques for this scenario.

    First, you can create a separate connection for each environment/library list combination, and switch between the connections as you move from working in one environment to another. In this case, you simply need to use the methods to set up the default library list for each connection as explained in my earlier tip.

    Easy enough, and many people like to work this way. The issue that sometimes arises in this case is that it’s easy to lose track of which connection you’re using at any point if you switch between them frequently during the day.

    A second option that I’ve found works well for me is to use a single connection to the system, but I create a user action for each different library list that I need on a regular basis. This method makes it easy to switch back and forth throughout the day.

    I won’t go into all the details of how to create a user action here because it has been covered in other tips. If you need to learn the basics of creating a user action, take a look at the section called “A Couple of Handy User Actions” about halfway through this tip.

    However, the user actions that I create for controlling my library list have a couple of special wrinkles that I want to go over.

    RSE’s user actions are much like PDM user options. However, user actions are not “generic” like PDM options are. They are (or can be) explicit to a specific type of object. What I’m after is a way that I can quickly and easily run the user action to change my library list at any time. That means I’d really prefer to make my user actions generic so that I can right-click on just about anything in the RSE view to get to them quickly.

    That’s not tough to do. I can create an object action (a type of user action) and specify that I want my object action to work on ALL object types. But what if I happen to right-click on a member, not an object? Rational separates out member actions from object actions. That means I need to add two identical user actions for each different library list: an object action and a member action.

    So choose New→Object Action. Give the action a name, such as “LIBL App A.” Then in the command box put in any CL command that does not require an emulation screen. For example, you can’t use EDTLIBL, but you could use ADDLIBLE or CHGLIBL. Then prompt to put in whatever parameters are needed. If your requirements are such that a simple CL command won’t cut it, then write a CL program and make your command a CALL to that program.

    Whatever you put in the command box here, select it and copy it to the clipboard, because if all goes well, you’ll be using it again soon and it will save typing. You can specify what types of objects this action should apply to. In this case, I want it to apply everywhere, so I’ll leave it set to ALL types.

    Now you can go back into RSE and test your new user action by right clicking on any object and choosing User Actions→LIBL App A. Then refresh your Library List Filter (right-click on Library List and choose “refresh” or click on Library List and press F5). That should now reveal your changed LIBL.

    Assuming that your new action is working as you wanted, simply repeat the process you did for your object action to create a New→Member Action. I’d give it the identical name, e.g., “LIBL App A” and paste the same CL command as before in the box. Now go back and test your user action against the name of a member in the Remote Systems view as you did before. Remember to refresh your Library List filter afterward to check to make sure it worked as expected.

    Now all you need to do is to create user actions for any other application library list requirements you have and test them.

    There are other ways to manage library lists in RSE, but these are the ones I’ve seen used most often. I’d love to hear of any other options that some of you may have developed.

    Susan Gantner is half of Partner400, a consulting company focused on education on modern programming and database techniques and tools on the IBM i platform. She is also a founding partner in System i Developer, a consortium of System i educators and hosts of the RPG & DB2 Summit conferences. Susan was a programmer for corporations in Atlanta, Georgia, before joining IBM. During her IBM career, she worked in both the Rochester and Toronto labs, providing technical support and education for application developers. Susan left IBM in 1999 to devote more time to teaching and consulting. Together with Jon Paris, she now runs Partner400, and appears regularly at many technical conferences, including System i Developer’s RPG & DB2 Summit. Send your questions or comments for Susan to Ted Holt via the IT Jungle Contact page.

    RELATED STORIES

    Get Connected with Remote Systems Explorer

    Development Environments



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    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

    CCSS:  IBM i event monitoring: 5 great tips to help you avoid and respond to system failures
    New Generation Software:  Bring your IBM i Query, Reporting, & Analytics to the NGS-IQ Cloud
    COMMON:  Join us at the 2013 Conference & Expo, April 7 -10 in Austin, TX

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ The Reg: More News From ITJ EIC Timothy Prickett Morgan

    Mainline Buys BI Services Firm Coming Soon: Entry And Midrange Power7+ Servers

    Leave a Reply Cancel reply

Volume 13, Number 2 -- January 23, 2013
THIS ISSUE SPONSORED BY:

Help/Systems
WorksRight Software
RJS Software Systems

Table of Contents

  • Dealing With Library Lists In RSE/RDP
  • Easily Create Help Text For Commands
  • Stopping Unauthorized Users From FTPing To Your IBM i

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