Library List Setup

There are several ways to control the library list within a Rich Display File application.  It can be setup by calling an initial CL program, for example.  Or, if the application is called from Genie, the library list of the Genie session is used.

Alternatively, the library list can be configured by updating a special database file shipped with Profound UI.

The database file PROFOUNDUI/PUI0001204 can be used to control the initial library list setup for Rich Display File applications – a standard DB editing utility or SQL can be used to work with the file. Profound UI also provides a tool that can be used for maintaining this file, it is the Work with Initial Library List Setup tool. You can learn more about this tool here

The records are keyed on a user/group id. You'll notice that there is already a user/group id zero in the file. This id corresponds to the users you setup for initial programs (file PUI0001203).

The "zero" record is the global one that takes effect if there is no record for the specific user that signs in, or if running an anonymous session. This "zero" record must always be present and must not be removed, although you can change it to effect global setup without having to add records to the file for a many different users.

There are 2 ways you can control the library list with this file.

1. You can add a space separated list of libraries in field RLLIBL. Profound UI will set the library to the list you specify when the session starts.

2. You can specify a job description to pull the library list from using fields RLJOBD and RLJOBDLIB. When the session is started, Profound UI will look at the library list associated with this JOBD and set it up that
way. You can pull a JOBD from the user profile itself by entering *USRPRF for RLJOBD.

Please note that the 2 methods are mutually exclusive. If using one method, the field(s) for the other method should be left blank.

With either method, you can also set field RLCURLIB to the library you want as the CURLIB of the job.

You can also use the special value *CRTDFT or *USRPRF for RLCURLIB.