Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Library List (CHGLIBL) command changes the user portion of the library list for the current thread with the list of libraries specified by the user. This command does not affect the system portion of the library list, nor does it affect library list for any other thread.
Restrictions: You must have use (*USE) authority for all the specified libraries before the library list is changed. If you are not authorized to one or more of the libraries, the library list is not changed.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
LIBL | Libraries for current thread | Single values: *SAME, *NONE Other values (up to 250 repetitions): Name |
Optional, Positional 1 |
CURLIB | Current library | Name, *SAME, *CRTDFT | Optional, Positional 2 |
Top |
Specifies the libraries that are placed in the user portion of the library list for the current thread. This parameter can be specified as a single value or as a list of one or more names.
Single values
Other values
Top |
Specifies the library to replace the current library in the library list for the current thread.
Top |
CHGLIBL LIBL(ULIB10 ULIB15 QGPL)
This command changes the user portion of the library list for the current thread. The new library list contains libraries ULIB10, ULIB15, and QGPL. They are searched in that order.
Top |
*ESCAPE Messages
Top |