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 Change TURNOVER Library List

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:

ParameterDescription
LIBLThe new library list to be used by TURNOVER
USERIDOptional user ID to apply the change to a specific user
SESSIONOptional session ID if you’re targeting a specific TURNOVER session
TYPEType 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:

CHGTOLIBL LIBL('TURNPROD TURNUTIL TURNDATA') TYPE(*DEFAULT)

This updates the default TURNOVER library list so all future sessions use the production libraries.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>