Library List System Values


Two system values control the library list initially assigned to new jobs. System value QSYSLIBL is always used to determine the system portion of the library list. QUSRLIBL, however, is used only if the job description used to start the job has *SYSVAL in the INLLIBL parameter. For example, when a user signs on, the job description used is the one referenced in the user profile's JOBD parameter. When you submit a job to batch using the SBMJOB command, the JOBD parameter names the job description.

System Portion

System value QSYSLIBL can contain a list of up to 15 library names. These libraries are considered to be in the system portion of the library list. QSYSLIBL should always contain library QSYS.

If you change QSYSLIBL, existing jobs are not affected. New jobs started after the change, however, will use the new system portion of the library list.

Tip 

You should consider creating a user library (call it ALTQSYS) and place it before QSYS in the system portion of the library list. Then you can place objects you have duplicated from QSYS and changed in this library. Your copies will be used instead of the original objects from QSYS. Using this technique, you can modify commands and other system objects without actually changing the originals.

User Portion

System value QUSRLIBL can contain up to 25 library names, which will make up the user portion of the library list. If you use QUSRLIBL, make sure the job descriptions reference INLLIBL(*SYSVAL).

Tip 

Different users have different library list requirements. As a general rule, it is better to use job descriptions to control the user portion of the library list.



IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 245

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net