Defining backup volumes to DFSMShsm

If you are using SELECTVOLUME(SPECIFIC) and TAPEDELETION(HSMTAPE), you may want to identify your backup volumes to DFSMShsm. Use the ADDVOL command to identify the volume as a backup volume and to specify the following: The following provides a sample ADDVOL command for adding a DASD daily backup volume on a unit 3390:
ADDVOL BAK001 UNIT(3390) BACKUP(DAILY(5))
This command makes BAK001 a daily backup volume that is used on day five of the backup cycle.

Figure 1 shows the complete set of DFSMShsm commands that the example system uses to control automatic backup processing for SMS-managed storage.

Figure 1. DFSMShsm Automatic Backup Commands for SMS-Managed Storage
  /* SPECIFYING THE TIME AUTOMATIC BACKUP IS TO START */
       /* (PROCESSING UNITS 1, 2, AND 3)  */
       SETSYS AUTOBACKUPSTART(0300 0400 0500)
       /* SPECIFYING THE TIME AUTOMATIC BACKUP IS TO START */


       /* SPECIFYING TO DIRECT BACKUP TO TAPE, AND TO RETRY */
       /* BACKUP WHEN A DATA SET IS IN USE.  */
       SETSYS BACKUP(TAPE(ACL) INUSE(RETRY(Y) DELAY(10) +
                               SERIALIZATION(PREFERRED)))

       /* SPECIFYING FIRST QUALIFIER FOR NAMES OF BACKED UP */
       /* DATA SETS   */
       SETSYS BACKUPPREFIX(HSM)

       /* SPECIFYING MAXIMUM NUMBER OF BACKUP TASKS */
       SETSYS MAXBACKUPTASKS(3)

       /* SPECIFYING BACKUP OF RACF DISCRETE DATA SET */
       /*PROFILES   */
       SETSYS NOPROFILEBACKUP

       /* SPECIFYING SPILL PROCESSING */
       SETSYS NOSPILL

       /* SPECIFYING BACKUP OF ONLY CHANGED DATA SETS */
       SETSYS INCREMENTALBACKUP(CHANGEDONLY)

       /* SPECIFYING DAYS FOR AUTOMATIC BACKUP TO OCCUR */
       DEFINE BACKUP(YYYYYYN CYCLESTARTDATE(1995/01/06))