Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Examples of the JOBLIB DD statement z/OS MVS JCL Reference SA23-1385-00 |
|
Example 1:
The private library requested on the JOBLIB DD statement is cataloged. The system passes catalog information to subsequent job steps. The system searches for the programs SCAN and UPDATE first in PRIVATE.LIB4, then in SYS1.LINKLIB. DD statement DD1 refers to the private library requested in the JOBLIB DD statement. Example 2:
The private library requested on the JOBLIB DD statement is not cataloged; therefore, unit and volume information is specified. The system searches for the programs DAY and BENEFITS first in PRIV.DEPT58, then in SYS1.LINKLIB. DD statement DD1 refers to the private library requested in the JOBLIB DD statement. Example 3:
The private library requested on the JOBLIB DD statement does not exist yet; therefore, the JOBLIB DD statement contains all the parameters required to define the library. The library is created in STEP1, when DD statement DDA defines the new member RATE for the library. Therefore, the system searches SYS1.LINKLIB for the program named DISC. In STEP2, the system searches for the program RATE first in GROUP8.LEVEL5. Example 4:
The three DD statements concatenate the three private libraries.
The system searches the libraries for each program in this order:
|
Copyright IBM Corporation 1990, 2014
|