In the event you have to restore the TMC with a backup other than the most current backup or the most current alternate backup, you are urged to contact the CA 1 Technical Support Group for advice before starting the RESTORE operation.
CA 1 must be deactivated prior to a noncurrent RESTORE and the CTS address space must RELEASE the TMC (see the Administration Guide). TMSCOPY restore JCL uses an additional DD statement to read in all Audit data from the backup tapes created since the noncurrent version of the TMC (the version that is used as input). A parameter of NONCURR must be specified after RESTORE.
The following JCL illustrates a noncurrent restore using a minus 3 (-3) generation of the TMC backup; the minus 2, 1 and current generation of the Audit backups; and the live Audit file. The TMC image is written first; then, in chronological order, the Audit data from tape is written, followed by the Audit data from the live file.
//* STEP1 WILL DEACTIVATE CA 1 //STEP1 EXEC PGM=TMSINIT //STEPLIB DD DSN=CAI.CTAPLINK,DISP=SHR //TMSRPT DD SYSOUT=A //TEMPAUDT DD UNIT=SYSDA, // SPACE=(TRK,(10,1)),DCB=BLKSIZE=n*96 *NOTES //TMSPARM DD DSN=hlq.CTAPOPTN,DISP=SHR //* STEP 2 WILL RESTORE THE TMC //STEP2 EXEC PGM=TMSCOPY, // PARM='[DATEFMT=(fmt),]RESTORE,NONCURR' //STEPLIB DD DSN=CAI.CTAPLINK,DISP=SHR //TMSRPT DD SYSOUT=A //DUMPDD DD DSN=minus.three.backup.of.TMC(-3),DISP=SHR //TMC DD DSN=CAI.CA1.TMC,DISP=SHR //AUDITBK DD DSN=minus.two.backup.of.AUDIT(-2),DISP=SHR *NOTES // DD DSN=minus.one.backup.of.AUDIT(-1),DISP=SHR // DD DSN=current.backup.of.AUDIT(0),DISP=SHR //AUDITDD DD DSN=CAI.CA1.AUDIT,DISP=SHR //RESTART DD DSN=dsname,DISP=(MOD,DELETE,CATLG), // UNIT=SYSDA,SPACE=(TRK,1), // DCB=(RECFM=FB,BLKSIZE=n*370) *NOTES //* STEP3 WILL REACTIVATE CA 1 //STEP3 EXEC PGM=TMSINIT //STEPLIB DD DSN=CAI.CTAPLINK,DISP=SHR //TMSRPT DD SYSOUT=A //TEMPAUDT DD UNIT=SYSDA, // SPACE=(TRK,(10,1)),DCB=BLKSIZE=n*96 *NOTES //TMSPARM DD DSN=hlq.CTAPOPTN,DISP=SHR
Notes:
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|