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


Using non-dfsmsrmm utilities to restore the control data set

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

Recommendation: Use the DFSMSrmm EDGBKUP utility to restore the control data set to get the benefits that the DFSMSrmm utility provides and to avoid replying to operator messages if DFSMSrmm is not active.

You can use IDCAMS REPRO or DFSMSdss RESTORE to recover the DFSMSrmm control data set from a backup copy taken using those utilities. This topic contains examples for you to use IDCAMS and DFSMSdss.

If you use IDCAMS or DFSMSdss to restore the control data set from a backup, you must forward recover the control data set before it can be used by DFSMSrmm. If you do not perform forward recovery and start DFSMSrmm, you will have to reply to message EDG0123D. To avoid this, forward recover the control data set by using the EDGBKUP utility. You can use a dummy journal if you do not have an existing journal or journal backups. When forward recovery is completed, you are ready to use the control data set with DFSMSrmm.

Example: Restore the control data set by using IDCAMS.
//RESTORE  EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//BACKUP   DD DISP=SHR,DSN=RMM.BACKUP.CDS
//MASTER   DD DISP=SHR,DSN=RMM.CDS
//SYSIN    DD *
 REPRO INFILE(BACKUP) OUTFILE(MASTER)
/*
Example: Restore the control data set using DFSMSdss.
//RESTORE  EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//BACKUP   DD DISP=SHR,DSN=RMM.BACKUP.CDS
//SYSIN    DD *
 RESTORE DS(INCLUDE(**))INDD(BACKUP) REPLACE
/*
Example: Forward recover the control data set using a dummy journal.
//FWDRECVR EXEC PGM=EDGBKUP,PARM='RESTORE'
//SYSPRINT DD SYSOUT=*
//MASTER DD DISP=SHR,DSN=RMM.CDS
//JOURNAL DD DUMMY 

Example: CDS copy followed later by a forward recovery from that CDS copy.

  1. Create almost instant copy of the current, active DFSMSrmm CDS
    //CDSCOPY  EXEC PGM=EDGHSKP,PARM='BACKUP(COPY)'                    
    //BACKUP   DD UNIT=3390,VOL=SER=RMMPK2,DISP=SHR                    
    //SYSPRINT DD SYSOUT=*                                             
    //DSSOPT   DD *                                                    
      FR(PREF) CONCURRENT RENAMEU((*.*.MASTERX,*.*.R10COPY)) REPLACEU   /* 
  2. DFSMSrmm processing continues until some point where a recovery is needed.
  3. Forward recover the CDS copy using the last active DFSMSrmm journal:
    //FORW     EXEC PGM=EDGBKUP,PARM='RESTORE'         
    //SYSPRINT DD SYSOUT=*                             
    //MASTER   DD DSN=RMMTST.Z1ASMF.R10COPY,DISP=SHR   
    //JOURNAL  DD DSN=RMMTST.Z1ASMF.JOURNAL,DISP=SHR
  4. Start DFSMSrmm using a parmlib member that points to the recovered CDS copy.
    S DFRMM,M=RC
    using parmlib member EDGRMMRC

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014