CL programmers can easily obtain information about running jobs and about their system. And you can change that information with equal ease.
The job’s library list can be modified with the following commands:
Add Library List Entry (ADDLIBLE)
Remove Library List Entry (RMVLIBLE)
Change Library List (CHGLIBL)
Change Current Library (CHGCURLIB)
Change System Library List (CHGSYSLIBL)
The command ADDLIBLE lets you add a library to the user portion of the library list. Using the POSITION parameter, you can even specify where in the library list to insert the new library. Figure 8.1 shows some examples.
Table 8.1. Examples of adding libraries to your library list with ADDLIBLE.
/* Place MYLIB at the top ...