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


Relationship to other parameters

z/OS MVS JCL Reference
SA23-1385-00

Do not code the following parameters with the DSNAME parameter.

DDNAME
DYNAM
QNAME

Do not code the DCB IPLTXID subparameter with the DSNAME parameter.

Reserved Data Set Names: Do not code the following data set names on the DSNAME parameter with the *, DATA, or SYSOUT parameter (an in-stream or sysout data set); the names are reserved for system use.

JESJCL
JESJCLIN
JESMSGLG
JESYSMSG
With DD AMP parameter: When you code an AMP parameter for a VSAM data set, do not code a DSNAME:
  • That contains parentheses, a minus (hyphen), or a plus (+) sign.
  • That is in the form for ISAM.
  • That is in the form for PAM (partitioned access method).
  • That names a generation data group.

With DD DISP parameter: You can create a permanent data set by specifying a qualified or unqualified data set name, the disposition must be other than DELETE.

The following example illustrates how to create a permanent data set:
//REPORT   DD DSN=DEHART.APAR.REPORT,SPACE=(CYL,(5,5)),
//            DISP=(NEW,CATLG),UNIT=SYSALLDA,
//            DCB=(LRECL=121,RECFM=FBA,BLKSIZE=1210)
You can create a temporary data set by specifying a:
  • &&dsname or by omitting the DSNAME parameter
  • Qualified or unqualified data set name and specifying, either explicitly or implicitly, DISP=(NEW,DELETE).
The following two examples illustrate how to create a temporary data set:
//MYDD1    DD DSN=TEMP1,UNIT=3480,DISP=(,DELETE),SPACE=(TRK,(1,1))
//DD2      DD UNIT=SYSALLDA,SPACE=(TRK,1),DISP=(NEW,PASS)
Note: When you code a disposition of CATLG for a data set, do not code a DSNAME name in apostrophes.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014