LABEL parameter

Parameter type

Keyword, optional

Purpose

Use the LABEL parameter to specify for a tape or direct access data set:
  • 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.

Although subparameters RETPD and EXPDT are shown in the syntax of the LABEL parameter, you should use the RETPD or EXPDT DD parameter to specify a retention period or expiration date for the data set.

For a tape data set, this parameter can also specify the relative position of the data set on the volume.

References

For details on tape labels, see z/OS DFSMS Using Magnetic Tapes. For details on direct access labels, see z/OS DFSMS Using Data Sets. For information on protecting a data set with a password, see z/OS DFSMSdfp Advanced Services.