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 3: Creating and dynamically allocating output copies


In the following example, 

BMC AMI Recover

 recovers one partition of the table space and creates one image copy. 

BMC AMI Recover

 uses dynamic allocation for the image copy.

The OUTPUT command is used to dynamically allocate the copy that is made.

JCL for recovering one partition and creating an image copy

//AFREX03 JOB (PAFR),'EXAMPLE 3',
//       CLASS=Q,NOTIFY=&SYSUID,
//       MSGCLASS=X
//*
//RECOVER EXEC PGM=AFRMAIN,REGION=0M,
//             PARM='DGE,EXAMPLE03,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 *
 OUTPUT CP00001
   DSNAME RDASTC.BMCDBSMP.BMCTS011.COPYDS3(+1)
   UNIT SYSDA
   MODELDCB SYS1.MODEL
   SPACE (20,1) CYL
 RECOVER TABLESPACE BMCDBSMP.BMCTS011 DSNUM 03
   OUTCOPY YES
   OUTCOPYDDN CP00001
/*
//


 

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