z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Backing up the DFSMSrmm control data set and journal

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

When DFSMSrmm is active, you do not need to specify the MASTER and JOURNAL DD statements. EDGBKUP obtains the name of the control data set and the journal from the DFSMSrmm subsystem. When the DFSMSrmm subsystem is stopped, quiesced, or when you want to back up a control data set that is not in use by DFSMSrmm, specify the MASTER DD statement and the JOURNAL DD statement. You decide which data sets are backed up. Specify the BACKUP DD to request control data set backup. Specify the JRNLBKUP DD to request journal backup. You can specify either or both of the BACKUP and JRNLBKUP DD statements. If you do not back up the journal before it is cleared, forward recovery from previous control data set backups is limited. EDGBKUP does not reset the journal after backing up the control data set. Use EDGHSKP to reset the journal after backing up the control data set.

Example: Back up the control data set by using EDGBKUP.
//EDGBKP   EXEC PGM=EDGBKUP,PARM='BACKUP'
//SYSPRINT DD SYSOUT=*
//BACKUP   DD DISP=(,CATLG),UNIT=SYSALLDA,DSN=BACKUP.CDS(+1),
//         SPACE=(TRK,(ppp,sss),RLSE),RECFM=VB,LRECL=9216
//         BLKSIZE=0
Example: Back up the journal data set by using EDGBKUP.
//EDGBKP   EXEC PGM=EDGBKUP,PARM='BACKUP'
//SYSPRINT DD SYSOUT=*
//JRNLBKUP DD DISP=(,CATLG),UNIT=SYSALLDA,DSN=BACKUP.JRNL(+1),
//         SPACE=(TRK,(ppp,sss),RLSE),RECFM=VB,LRECL=9248
//         BLKSIZE=0,BUFNO=30

DFSMSrmm checks that any previous update of the control data set has completed successfully before backing up the DFSMSrmm control data set. DFSMSrmm does not back up the control data set when the previous update of the control data set fails and you are not using BACKUP(REORG). DFSMSrmm issues an informational message and sets a return code of 12.

To store backup copies of the control data set in a storage location to prepare for disaster recovery, you can place the backups on tape and define vital record specifications to move the backups off-site. When BACKUP(DSS) is used, you can back up directly to tape. When you use BACKUP(NREORG) or BACKUP(REORG), use a DASD data set for the initial backup copy. Then copy the backup copy to a tape data set in a subsequent job step or job. For disaster recovery, you can restore directly from the tape data set with the DFSMSrmm subsystem stopped or quiesced as long as you use the EDGBKUP utility. For on-site recovery, use a DASD backup for faster recovery.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014