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 4: Copying objects by owner for applications like SAP/R3


This job example copies objects by owner for applications like SAP/R3.

//ACPEX04  JOB (PACP),'EXAMPLE 4',CLASS=Q,MSGCLASS=X,NOTIFY=&SYSUID
//**********************************************************************
//* Make a SHRLEVEL CHANGE full copy of all table spaces that have
//* a creator id of SAPR3.
//*
//* This job will create a local-site primary (LP) copy on DASD,
//*
//* This example demonstrates the following features of COPY PLUS:
//*
//*  - Restart parm PARSE to analyze the commands in SYSIN without
//*    actually making any copies.
//*  - MAXTASKS (8,8) to use 8 tasks for making copies.
//*  - Dynamic allocation with the OUTPUT command
//*  - APPLICATION to specify the table space list
//*  - RESETMOD NO to avoid the overhead of clearing the modified-page
//*    indicators in each spacemap.
//*  - FULL AUTO FULLPCT(0.01) to cause COPY PLUS to copy only the
//*    table spaces that have changed since the last copy was made.
//*
//**********************************************************************
//BMCCOPY  EXEC PGM=ACPMAIN,REGION=0M,
//            PARM='DGA,ACPEX04,PARSE,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 *

  OPTIONS MAXTASKS (8,8)

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

  COPY APPLICATION SAPR3
         COPYDDN(LOCALP)
       FULL AUTO FULLPCT(0.01)
       RESETMOD NO
       SHRLEVEL CHANGE
       GROUP YES
/*




 

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