Maintaining password protection for recovered data sets

Password protection in MVS™ is implemented differently for non-VSAM and VSAM data sets. Password protection is not applicable to SMS-managed data sets. The passwords for all non-VSAM data sets are stored in one system password data set. The password for each VSAM data set is stored in a catalog record for the specific VSAM data set. Therefore, VSAM passwords are maintained during DFSMShsm processing as a part of regular catalog record creation and updating.

If you are recovering an existing VSAM data set, the password is the current password. If you are recovering a VSAM data set that has been deleted, the password is the password that existed when DFSMShsm backed up the data set.

If you specify the NEWNAME parameter of a RECOVER command for a password-protected, non-VSAM data set, DFSMShsm marks in the DSCB of the recovered data set the same password protection as the original data set had. Enter a password for the recovered data set in the system password data set. Then, use the password to access the recovered, non-VSAM data set.

For VSAM data sets, whether you specify the NEWNAME parameter, DFSMShsm marks in the catalog that the recovered data set is protected and enters the old password in the catalog record of the recovered data set. Use the old password when you want to access the recovered VSAM data set.

If DFSMShsm migrated a password-protected VSAM data set whose backup versions are to be deleted, you must specify the password or DFSMShsm fails the request. When deleting backup versions of VSAM data sets that no longer exist or that were migrated by DFSMShsm Version 1 Release 3, DFSMShsm does not check the password.

Be aware of the following password issues when you attempt to change password protection while data sets are backed up:
Note: If a catalog has update protection, you are prompted for the password when DFSMShsm tries—during an unauthorized DFSMShsm function from an unauthorized DFSMShsm user—to create a catalog entry in the protected catalog.