The ChgLibl procedure changes the library list for the current job.
The ChgLibl procedure can be used to change the user-portion, current, or production library list.
bool ChgLibl( InLibl 2750A Const Varying nLibLType 10I 0 Const Options(*NOPASS) ) |
|
See also: SetLibl |
| Constant | Literal Value | Description |
| LLUSRLIBL | 0 | The user-portion of the job's library list. |
| LLCURLIB | 1 | The current library. |
| LLPRODLIBL | 3 | The production library or libraries. |
If the function succeeds, the return value is *ON (i.e., '1'); otherwise *OFF (i.e., '0') is returned.
If the function fails, the library list is not changed.
The new library list must be field containing the library names to replace the current library list. Each library name (except he final name) must be followed by one or more blanks. To use an array containing library names to change the library list, see the SETLIBL procedure.