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


Automating backup

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

DFSMSrmm sample provided in SAMPLIB

EDGBETT sample that you can use in the IBM Tivoli Workload Scheduler for z/OS for automating backup.

Create a backup procedure in the system procedure library. Figure 1 shows an example of a procedure that runs backup as part of inventory management. Alternatively, you might want to use the procedure to submit a batch job to perform the backup or to inform your job scheduler to submit the job.

Specify your backup procedure name with the BACKUPPROC value in parmlib. See Defining system options: OPTION for more information about specifying BACKUPPROC.

Figure 1. Example BACKUPPROC procedure
//CDSBKUP  PROC
//EDGHSKP  EXEC PGM=EDGHSKP,PARM='BACKUP(DSS)'
//MESSAGE  DD DISP=SHR,DSN=RMM.MESSAGE
//SYSPRINT DD SYSOUT=*
//BACKUP   DD DISP=(,CATLG),UNIT=TAPE,DSN=BACKUP.CDS(+1),
//         LABEL=(,SL)
//JRNLBKUP DD DISP=(,CATLG),UNIT=TAPE,DSN=BACKUP.JRNL(+1),
//         LABEL=(2,SL),VOL=REF=*.BACKUP
//         PEND

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014