Example 7: Recovering an Instant Snapshot using BMC AMI Recover
This example illustrates how to use BMC AMI Recover to recover an Instant Snapshot.
BMC AMI Recover automatically finds the Online Consistent Copies in BMCXCOPY and performs normal recovery operations using the copies, including forward log apply if required.
The following figure shows an example of the JCL necessary to perform this task. For more information, see Recovering by using BMC AMI Recover.
//*
//RECOVER EXEC PGM=AFRMAIN,REGION=0M,COND=ONLY,
// PARM='DGE,RECOVER4B,NEW/RESTART,MSGLEVEL(2)'
//STEPLIB DD DISP=SHR,DSN=PRODUCT.LOAD.LIBS
// DD DISP=SHR,DSN=DSNEXIT
// DD DISP=SHR,DSN=DSNLOAD
//SYSIN DD *
RECOVER TABLESPACE BMCDBSMP.BMCTS001 TOCOPY LASTCOPY
RECOVER TABLESPACE BMCDBSMP.BMCTS002 TOCOPY LASTCOPY
RECOVER TABLESPACE BMCDBSMP.BMCTS003 TOCOPY LASTCOPY
REBUILD INDEX(ALL) TABLESPACE BMCDBSMP.BMCTS001 NOWORKDDN
REBUILD INDEX(ALL) TABLESPACE BMCDBSMP.BMCTS002 NOWORKDDN
REBUILD INDEX(ALL) TABLESPACE BMCDBSMP.BMCTS003 NOWORKDDN
/*
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.