z/OS DFSMS Using Magnetic Tapes
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Output processing for password-protected data sets

z/OS DFSMS Using Magnetic Tapes
SC23-6858-00

The system compares the data set name shown in the HDR1 label with the data set name specified in the DD statement for output processing of a password-protected data set. For generation data sets on a Version 3 or 4 volume, the comparison of names does not include the generation and version numbers.

If the names are not the same, processing is terminated unless the data set is the first one on the first or only volume. In this case, even if you specify a specific volume, the operator must demount the tape and mount a new scratch tape. If the names are the same, the system requests the operator or TSO user to key in the required password. The password is verified in the system's password data set in the same manner as described above for an input data set. The read/write protection mode is necessary for output data sets.

Two restraints are placed on creation of password-protected data sets:
  • When creating a password-protected data set following an existing password-protected data set, supply the password of the existing data set. The accessibility code of "1" or "3" must be the same in both the existing and the new data set. This is true even if the volume is RACF defined, or resides in an IBM automated tape library or a manual tape library.
  • When creating a multivolume, password-protected data set, the second and successive volumes will also be verified. Verification consists of ensuring that the data set name in the JFCB (for Version 3 volumes, not including generation and version numbers, if present) is the same as the data set name in the password record. Verification also ensures that the protection-mode indicator allows writing to the data set. This verification is bypassed if the volume resides in an IBM automated tape library or a manual tape library.

Deleting a Password-Protected Data Set: If a password-protected data set is deleted, the HDR1 accessibility field must be set to a space character before the volume can be written on again. The HDR1 accessibility field can be set by using either the EDGINERS or IEHINITT utility programs, or a user program to relabel the volume.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014