Before you start the DFRMM procedure, use the EDGBKUP utility to
restore from the latest control data set backup. You can restore
from either tape or DASD. When you restore from tape, even though
the DFRMM procedure is not started, DFSMSrmm verifies that you are
restoring a backup of the DFSMSrmm control data set and allows you
to use EDGBKUP with DFSMSrmm inactive. Any backup of the control
data set is a backup consistent with the time that you started the
backup. You can restore that backup copy to your selected point in
time, or can optionally forward recover to the end of the DFSMSrmm
backup processing or some later time as long as you have the journal
backups and journal data set. Usually you will not use forward recovery.
To restore the control data set at a recovery site, follow these steps:
- If you used DFSMSrmm to create the backup by using IDCAMS REPRO,
allocate a new control data set. You can use the DFSMSrmm-supplied
sample job EDGJMFAL to allocate a new control data set.
- Run EDGBKUP with the RESTORE parameter to restore the control
data set from a backup copy. The MASTER DD statement is optional
if you used DFSMSrmm to create the backup with DFSMSdss.
//RESTORE EXEC PGM=EDGBKUP,PARM='RESTORE'
//SYSPRINT DD SYSOUT=*
//BACKUP DD DISP=SHR,DSN=RMM.BACKUP.CDS
//MASTER DD DISP=SHR,DSN=RMM.CDS
- If you want to forward recover to a later point in time, run
EDGBKUP with the RESTORE parameter and include the JOURNAL DD statement
to identify the journals to be applied.
//RESTORE EXEC PGM=EDGBKUP,PARM='RESTORE'
//SYSPRINT DD SYSOUT=*
//MASTER DD DISP=SHR,DSN=RMM.CDS
//JOURNAL DD DISP=SHR,DSN=RMM.JOURNAL.BACKUP(0)
This step can
be combined with Step 2 to restore the control data set and journal
at the same time:
//RESTORE EXEC PGM=EDGBKUP,PARM='RESTORE'
//SYSPRINT DD SYSOUT=*
//BACKUP DD DISP=SHR,DSN=RMM.BACKUP.CDS
//MASTER DD DISP=SHR,DSN=RMM.CDS
//JOURNAL DD DISP=SHR,DSN=RMM.JOURNAL.BACKUP(0)
The MASTER DD
statement is optional if you used DFSMSrmm to create the backup with
DFSMSdss.
- Allocate an empty journal data set. DFSMSrmm provides sample EDGJNLAL
that you can use to allocate the journal.
- Start DFRMM with a DFSMSrmm EDGRMMxx parmlib
member that names the restored control data set and the empty journal.