Command reference / library
ADDLIBLE
Add Library List Entry
Adds one library name to the user portion of the library list for the current thread. The user portion is the last part of the list, after the system portion and any product libraries and current library entry. You can choose where in the user portion the library is placed.
Allowed environments: *ALL.
Positional parameters: 2.
Parameters
LIB
Library
Specifies the library to add to the user portion of the current thread's library list. Only one library is added per command, and the user portion can hold up to 250 libraries. This parameter is required.
POSITION
Library list position
Specifies where in the user portion of the library list the library is inserted. It can be a single value or a two-element list.
*FIRST- The library is inserted in front of the libraries already in the user portion.
*LAST- The library is added to the end of the user portion.
*AFTER- The library is added after the reference library, which must already be in the user portion.
*BEFORE- The library is added before the reference library, which must already be in the user portion.
*REPLACE- The library takes the reference library's position, and the reference library is removed from the list.
Elements in order
List position
List position
Allowed values:
*FIRST, *LAST, *AFTER, *BEFORE, *REPLACE
Reference library
Reference library
Examples
ADDLIBLE LIB(TESTLIB) POSITION(*LAST)
Adds TESTLIB to the end of the user portion of the library list.
Generated from os/cl/catalog/ADDLIBLE.json and os/cl/help/ADDLIBLE.json.