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


Examples of the PARMDD parameter

z/OS MVS JCL Reference
SA23-1385-00

Start of change
Example 1
//STEP1   EXEC PGM=IEBCOPY,PARMDD=PARMIN
//PARMIN  DD   *,DLM=/*
LINECOUNT=75
/*                          

In the example, the PARMDD keyword specifies a DD name of PARMIN, which is then coded on a DD statement that specifies a SYSIN (or in-stream) data set. The DD DATA usage would be similar.

Example 2
//STEP1   EXEC PGM=MYPGM,PARMDD=MYPARMS
//MYPARMS DD   DSN=SYS1.PARMLIB(MYPGMPRM)

In the example, the PARMDD keyword specifies a DD name of MYPARMS, which is then coded on a DD statement that specifies a data set (in this case, a partitioned data set member) that contains the program's parameter information.

Example 3
//STEP1   EXEC PGM=MYPGM,PARMDD=MYPARMS
//MYPARMS DD   PATH=/SYSTEM/tmp/unixparm.txt

In the example, the PARMDD keyword specifies a DD name of MYPARMS, which is then coded on a DD statement that specifies a UNIX System Service file that contains the program's parameter information.

End of change

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014