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


Examples of the SUBSYS parameter

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//DD1  DD  DSNAME=ANYDS,DISP=OLD,SUBSYS=ABC

The DD statement asks subsystem ABC to process data set ANYDS.

Example 2
//DD1 DD  DSNAME=ANYDS,DISP=OLD,SUBSYS=(XYZ2,
//        'KEYWORD=DATA VALUE1')

The DD statement asks subsystem XYZ2 to process data set ANYDS. The system passes the subparameter KEYWORD=DATA VALUE1 to the subsystem. The parameter is enclosed in apostrophes because it contains an equal sign and a blank, which are special characters.

Example 3
//DD1 DD DSNAME=ANYDS,DISP=OLD,SUBSYS=(XYZ2,IKJ2,
//       'NAME=''MODULE1''','DATE=4/11/86')

The DD statement asks subsystem XYZ2 to process the data set ANYDS. The system passes three subparameters to the subsystem: IKJ2, NAME='MODULE1' and DATE=4/11/86. Note that the character string MODULE1 is passed to the subsystem enclosed in apostrophes.

Example 4
//DD1 DD SUBSYS=(AOP1,'MyPrinter')

The DD statement asks the Infoprint Server subsystem named AOP1 to process a sysout data set. The system passes the subparameter MyPrinter to the Infoprint Server subsystem. The subparameter is enclosed in apostrophes because it contains lowercase letters. For more information about the Infoprint Server subsystem, the printer subparameter, and other subparameters that the Infoprint Server subsystem supports, see z/OS Infoprint Server User's Guide.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014