You can reset the library list for a job by using the command Change Library List (YCHGLIBL). The command replaces the current library list of a job with a stored named library list. For example, if "FRED" is the name of an existing library list containing ten libraries, then the following command would replace the library list of the invoking job to consist of the ten libraries:
YCHGLIBL LIBLST(FRED)
If a Toolkit library list contains a Current Library entry, then the command Change Library List (YCHGLIBL) will, by default, also change the current library of the invoking job:
YCHGLIBL LIBLST(FRED) CURLIB(*LST)
The command Change Library List is available in an abbreviated form R, which enables you to refresh or replace your library list very conveniently. For example:
R FRED
You can use a library list on the command Create Objects (YCRTOBJ). The list is used for the Initial Library List (INLLIBL) and Current Library (CURLIB) parameters of the i OS command Submit Job (SBMJOB) used to submit the creates. For instance:
YCRTOBJ OBJLIB(FRED) LIBLST(FRED) MBRLST(TEMPLST)
|
Copyright © 2014 CA.
All rights reserved.
|
|