z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Relationship to other control statements

z/OS MVS JCL Reference
SA23-1385-00

Concatenating step libraries: To specify more than one private library for a step:
  • Code a STEPLIB DD statement.
  • Immediately follow this statement with DD statements that define other private libraries. Omit a ddname from these subsequent DD statements.

The system searches the libraries for the program in the same order as the DD statements.

Overriding a JOBLIB: If you want the system to ignore the JOBLIB for a particular job step and the step does not require another private library, define the system library on a STEPLIB DD statement. For example, specify:
   //STEPLIB DD  DSNAME=SYS1.LINKLIB,DISP=SHR

For this particular job step, the system will first search SYS1.LINKLIB, as specified on the STEPLIB DD statement, for the program requested in the EXEC statement. The system will not search the JOBLIB.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014