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 Copy for Db2 13.1.

Example 25: Using MODIFY to copy unrecoverable spaces


This job example uses MODIFY to copy uncoverable spaces.

//ACPEX25  JOB (PACP),'EXAMPLE 25',CLASS=Q,MSGCLASS=X,NOTIFY=&SYSUID
//**********************************************************************
//*
//* Use MODIFY to verify the recoverability of a set of spaces at
//* both the local and recovery sites. If a space is not recoverable,
//* a copy will be made using the COPY command provided via the
//* TEMPLATE command.
//*
//* Note: The table space named in the COPY TEMPLATE COPYDS will be
//*       replaced by COPY PLUS with the database and table space name
//*       of the space requiring a copy.
//*
//**********************************************************************
//BMCCOPY  EXEC PGM=ACPMAIN,REGION=0M,
//            PARM='DGA,ACPEX25,NEW/RESET,MSGLEVEL(1)'
//STEPLIB  DD DISP=SHR,DSN=
product.libraries
//         DD DISP=SHR,DSN=DB2.DSNEXIT
//         DD DISP=SHR,DSN=DB2.DSNLOAD
//ACPERROR DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *

  MODIFY TABLESPACE ACPEXDB1.*
    VERIFY
      SITETYPE BOTH
      ON DSNOTFOUND WARN
      ON NOTRECOVERABLE COPY USING TEMPLATE COPYDS

  OUTPUT LOCALP UNIT SYSDA
       DSNAME ACP.LP.&DB.&TS.D&DATE.T&TIME

  OUTPUT REMOTP UNIT CARTVTS STACK YES
       DSNAME ACP.RP.&DB.&TS.D&DATE.T&TIME

  TEMPLATE COPYDS
    COPY TABLESPACE *.*
      COPYDDN(LOCALP)
      RECOVERYDDN(REMOTP)
    SHRLEVEL REFERENCE
    RESETMOD NO
/*




 

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