CL Command Reference - CHGSYSLIBL
CL Command List > CHGSYSLIBL Reference
Description:
The Change System Library List (CHGSYSLIBL) command changes the system portion of the library list for the current thread. You can specify if the library is added to the beginning of the system portion of the library list, or removed from the system portion of the library list.
The Change System Library List (CHGSYSLIBL) command changes the system portion of the library list for the current thread. You can specify if the library is added to the beginning of the system portion of the library list, or removed from the system portion of the library list.
Restrictions:
1. This command is shipped with exclude (*EXCLUDE) public authority. It is shipped authorized only to the security officer or a user with all object (*ALLOBJ) special authority.
2. The QSYS library is always in the system portion of the library list and cannot be added to or removed from it.
Examples:
CHGSYSLIBL LIB(PAYROLL) OPTION(*ADD)
This command adds the library PAYROLL to the beginning of the system portion of the library list.