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


JCL for using backup to create a CDS copy

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

Use the DSSOPT DD to override the default COPY command options used by DFSMSrmm. See Customizing the DSSOPT DD statement for details of the DSSOPT file. The BACKUP DD is optional when you request BACKUP(COPY). When you specify the BACKUP DD, DFSMSrmm builds the COPY command with the OUTDD(BACKUP) keyword to direct where the copy is created. Otherwise, your SMS managed environment determines where the copy is created.

Figure 1. Example of JCL for using backup to create a CDS copy
//EDGHSKP EXEC PGM=EDGHSKP,PARM='BACKUP(COPY)'
//MESSAGE DD DISP=SHR,DSN=RMM.MESSAGE
//SYSPRINT DD SYSOUT=*
//BACKUP DD DISP=SHR,UNIT=SYSDA,VOL=SER=myvol
//DSSOPT DD *
 FR(PREF) CONCURRENT(ANYREQUIRED) -
 RENAMEU((*.CDS.**,*.COPYCDS.**)) REPLACEU -
 DEBUG(FRMSG(DETAILED))
/*

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014