TSO-ISPF JCL COBOL VSAM DB2 CICS IMS-DB Tools Articles Forum Quiz Interview Q&A

JCL - DD Statements


DD (data definition) statement to describe a data set and to specify the input and output resources needed for the data set.

The parameters you can specify for DD processing are listed below. Also we provided explanation below for only which you'll most often use.
  • * Parameter
  • ACCODE
  • AMP
  • AVGREC
  • BLKSIZE
  • BLKSZLIM
  • BURST
  • CCSID
  • CHARS
  • CHKPT
  • CNTL
  • COPIES
  • DATA
  • DATACLAS
  • DCB
  • DDNAME
  • DEST
  • DISP
  • DLM
  • DSID
  • DSNAME or DSN
  • DSNTYPE
  • DUMMY
  • DYNAM
  • EATTR
  • EXPDT
  • FCB
  • FILEDATA
  • FLASH
  • FREE
  • FREEVOL
  • GDGORDER
  • HOLD
  • KEYLABL1
  • KEYLABL2
  • KEYENCD1
  • KEYENCD2
  • KEYLEN
  • KEYOFF
  • LABEL
  • LGSTREAM
  • LIKE
  • LRECL
  • MAXGENS
  • MGMTCLAS
  • MODIFY
  • OUTLIM
  • OUTPUT
  • PATH
  • PATHDISP
  • PATHMODE
  • PATHOPTS
  • PROTECT
  • RECFM
  • RECORG
  • REFDD
  • RETPD
  • RLS
  • SECMODEL
  • SEGMENT
  • SPACE
  • SPIN
  • STORCLAS
  • SUBSYS
  • SYMBOLS
  • SYMLIST
  • SYSOUT
  • TERM parameter
  • UCS parameter
  • UNIT parameter
  • VOLUME or VOL

* Parameter:

The * parameter value begins an in-stream data set.


DATA Parameter:

The DATA parameter value begins an in-stream data set that may contain statements with // in columns 1 and 2.


DCB Parameter:

The DCB parameter defines the format type, length of records, and block size for a new data set.


DISP Parameter:

The data set disposition parameter, DISP, indicates:

  • The current status of the data set, and whether the job requires exclusive use of it

  • How z/OS is to handle the data set after the job step ends either normally or abnormally.

The DISP parameters of DD statements help to prevent unwanted simultaneous access to data sets. In other words, the DISP parameter helps manage the integrity of data sets.


DSNAME or DSN Parameter:

The DSNAME parameter, or its abbreviation DSN, specifies the actual name of the data set. z/OS uses this name to locate the data set in storage. The DSNAME or DSN keyword must be specified for an existing data set.


DUMMY Parameter:

The DUMMY parameter value tells z/OS not to perform any input, output, or disposition processing on the data set. Use the DUMMY parameter value when you are not providing input or do not want the output for a data set, or when testing a program.


DYNAM Parameter:

The DYNAM parameter value is supported only to provide compatibility with previous versions of the z/OS operating system.


LABEL Parameter:

The LABEL parameter specifies specific information about a tape or direct access data set, including:

  • The type and contents of the label or labels for the data set.

  • If a password is required to access the data set.

  • If the system is to open the data set only for input or output.

  • The expiration date or retention period for the data set.

SPACE Parameter:

The SPACE parameter allocates storage for a new data set on a direct access storage device. The allocation of a data set means either or both of two things:

  • To set aside (or create) space for a new data set on a disk.

  • To establish a logical link between a job step and any data set.

SYSOUT Parameter:

The SYSOUT parameter specifies a system output data set and its output class. A system output (SYSOUT) data set contains the job output that is to be printed.

This job output is also known is the output stream. Unlike a permanent data set, a sysout data set is disk space that z/OS uses as buffer storage for processing output.


UNIT Parameter:

When you are defining a new data set, you may use the UNIT parameter to tell z/OS to place the data set on:

  • A specific device, by specifying a hardware address.

  • A certain type or group of devices; examples of device types are 3390 for a disk or 3590 for tape.

  • The same device as another data set.


VOLUME or VOL Parameter:

When you are defining a new data set, you may use the VOLUME parameter, or its abbreviation, VOL, to tell z/OS to place the data set on a specific volume. You can request:

  • A private volume
  • A specific volume by serial number
  • The same volume that another data set uses


If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!

Are you looking for Job Change? Job Portal