Space announcement

   

This space provides the same content as before, but the organization of the home page has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Example 14: Simulating recovery

Example 14 illustrates the use of the SIMULATE YES option to invoke recovery simulation.

Specifying SIMULATE YES necessitates the use of SIMRCVR TABLESPACE and SIMRBLD INDEX (instead of RECOVER TABLESPACE and REBUILD INDEX).

Note

Simulation is a feature of the BMC Recovery Management for Db2 solution and requires a valid Recovery Management for Db2 solution password.

//AFREX18  JOB (PAFR),'EXAMPLE 14', 
//         CLASS=Q,NOTIFY=&SYSUID, 
//         MSGCLASS=X 
/*ROUTE XEQ BMCPLX1 
/*JOBPARM SYSAFF=DB2A 
//* 
//RECOVER EXEC PGM=AFRMAIN,REGION=0M, 
//             PARM='DGE,EXAMPLE14,NEW/RESTART,MSGLEVEL(2)' 
//STEPLIB  DD DISP=SHR,DSN=product.libraries
//          DD DISP=SHR,DSN=DB2.DSNEXIT
//          DD DISP=SHR,DSN=DB2.DSNLOAD
//SYSIN     DD * 
 OPTIONS SIMULATE YES 
 SIMRCVR TABLESPACE BMCDBSMP.BMCTS014 
 SIMRBLD INDEX (ALL)  TABLESPACE BMCDBSMP.BMCTS014 
/* 
//


Was this page helpful? Yes No Submitting... Thank you

Comments