The CHGTOLIBL command in TURNOVER® for iSeries v100 is used to change the TURNOVER library list.
A critical setup step that ensures TURNOVER knows where to find its core libraries and application components during execution and more importantly what library list to use during compilation of code.
CHGTOLIBL command updates the TURNOVER-specific library list used during promotions, checkouts, and other operations. It’s not the same as the system library list (CHGSYSLIBL) this one is scoped to TURNOVER’s internal processes and user sessions.
It’s especially useful when:
- You’ve installed TURNOVER in a new environment
- You’re switching between development, test, and production libraries
- You need to reconfigure TURNOVER to point to updated or relocated libraries
Here’s a breakdown of the key fields:
| Parameter | Description |
|---|---|
LIBL | The new library list to be used by TURNOVER |
USERID | Optional user ID to apply the change to a specific user |
SESSION | Optional session ID if you’re targeting a specific TURNOVER session |
TYPE | Type of library list change (*DEFAULT, *TEMPORARY, *PERMANENT) |
You can also use *SAME for fields you don’t want to change.
Let’s say you’re switching your TURNOVER environment from TURNDEV to TURNPROD. You could run:
This updates the default TURNOVER library list so all future sessions use the production libraries.

