The SetLibl procedure changes the library list for the current job.
The setLibl procedure can be used to change the user-portion, current, or production library list entries.
bool SetLibl( InLibl 11A Const Dim(250) nLibLType 10I 0 Const Options(*NOPASS) ) |
| 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 an array of 11-positicn character fields. Up to 250 elements may be specified. To change the library list using a single, large character field, use the CHGLIBL procedure.