Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Recover for Db2 13.1.

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).

Important

Simulation is a feature of the 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
/*
//


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*