Changing backup device from tape to DASD

If you started your backup of the control data sets and the journal data set to tape and want to change to DASD, do the following:

  1. Uncatalog the backup versions that reside on tape. If this is not done, attempts to back up the control data sets to DASD will fail.

    The expiration date specified by the EXPIRATIONDATE or RETENTIONPERIOD parameter is still in effect on your backup tapes. Your tape management system returns the tapes to scratch according to the expirations date. Note that some expiration dates, such as 99365 (which prevents the tape from ever expiring), may require manual deletion through your tape management system.

  2. Specify the following command:
    SETSYS CDSVERSIONBACKUP(BACKUPDEVICECATEGORY(DASD))

    You can also change the number of backup copies. However, this example uses the same number as in the tape example; that is, three backup copies.

  3. Allocate your backup data sets on DASD. The sample job ALLOCBK1, which is located in the DFSMShsm starter set, allocates and catalogs the control data set backup version data sets on DASD volumes.

    The final qualifier must again increase by 1 for each set of backup data sets. However, do not start with a final qualifier of D0000001. Instead, start with a final qualifier that is 1 more than the last final qualifier of your backup data sets on tape.

    Issue the following command to determine the last final qualifier for the backup data sets:
       QUERY CDSVERSIONBACKUP

    In this example, the last final qualifier is D0000050.

    When you allocate your backup data sets, you decide to use the default backup data set names. Because you are backing up all three control data sets and the journal data set, you must allocate 12 backup data sets:
    Data Set Names of Allocated Backup Data Sets
    MCDS HSM.MCDS.BACKUP.D0000051 HSM.MCDS.BACKUP.D0000052 HSM.MCDS.BACKUP.D0000053
    BCDS HSM.BCDS.BACKUP.D0000051 HSM.BCDS.BACKUP.D0000052 HSM.BCDS.BACKUP.D0000053
    OCDS HSM.OCDS.BACKUP.D0000051 HSM.OCDS.BACKUP.D0000052 HSM.OCDS.BACKUP.D0000053
    Journal HSM.JRNL.BACKUP.D0000051 HSM.JRNL.BACKUP.D0000052 HSM.JRNL.BACKUP.D0000053

DFSMShsm now backs up the control data sets and journal data set to backup data sets on DASD volumes.

Related reading

For more information about the sample job ,ALLOCBK1, and the DFSMShsm starter set, see z/OS DFSMShsm Implementation and Customization Guide.