Password protection is retained when volumes of a multivolume data
set are switched. If the following conditions are met, the system
accepts a newly-mounted tape volume to be used for input or a newly-mounted
direct access volume:
- The data set names are the same in the password record for the
data set and the job file control block (JFCB). (This ensures that
the problem program has not changed the data set name in the JFCB
since the data set was opened.)
- The protection-mode indicator in the password record is compatible
with the processing mode, and a valid password has been supplied.
The system accepts a newly-mounted tape volume for output under
any of the following conditions:
- The security indicator in the HDR1 label indicates password protection;
the data set name in the password record is the same as the data set
name in the JFCB; and the protection-mode indicator is compatible
with the processing mode. (If the data set name in the JFCB has been
changed, a new password is requested from the operator.)
- The security indicator in the HDR1 label does not indicate password
protection. (A new label is written with the security indicator indicating
password protection.)
- Only a volume label exists. (An HDR1 label is written with the
security indicator indicating password protection.)