Example 16: Using the QUIESCE command


This job example uses the QUIESCE command.

//ACPEX16  JOB (PACP),'EXAMPLE 16',CLASS=Q,MSGCLASS=X,NOTIFY=&SYSUID
//**********************************************************************
//*
//* Use the QUIESCE command to get a establish a common quiet point
//* for all of the table spaces in databases ACPEXDB*. Spaces in
//* database ACPEXDB2 are excluded from the QUIESCE.
//*
//* This example demonstrates the following features of COPY PLUS:
//*
//*  - Restart parm NEW/RESTART to allow the job to be restarted by
//*    re-submitting the job without changes.
//*  - Wildcarding in the TABLESPACE specification
//*  - Wildcarding in the EXCLUDE specification
//*  - GROUP YES to cause the spaces to be quiesced as a group so that
//*    they will have a common quiesce RBA/LRSN
//*
//**********************************************************************
//BMCCOPY  EXEC PGM=ACPMAIN,REGION=0M,
//            PARM='DGA,ACPEX16,NEW/RESTART,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 *

  QUIESCE TABLESPACE ACPEXDB*.*
          EXCLUDE ACPEXDB2.*
       GROUP YES
/*


 

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