The AddLiblE procedure adds one or more library names to the user portion of the job's library list.
number-of-libraries-added AddLiblE( InLibl 2750A Const Varying szPosLib 10A Const Options(*NOPASS) nPosAfter 1N Const Options(*NOPASS) ) |
- *OFF or '0' = Position the new library name(s) before the library name specified on the szPosLib parameter.
- *ON or '1' = Position the new library name(s) after the library name specified on the szPosLib parameter.
If the function succeeds, the library name(s) specified on the InLibl parameter are added to the library list and the total number of library names on the list is returned.
If the function fails, the return value is -1.
The use of this function is similar to the ADDLIBLE CL command.
/INCLUDE QCPYSRC,LIBL
C CallP AddLible('XTOOLS')