Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange Change Data Capture Introduction
  3. Part 2: CDC Components Configuration and Management
  4. Part 3: CDC Sources Configuration and Management
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: CDC for z/OS Troubleshooting
  8. Appendix B: DTL__CAPXTIMESTAMP Time Stamps

Allocating Restart Data Sets

Allocating Restart Data Sets

The installation process creates at least one PowerExchange restart data set (ERDS). You can use this procedure to expand the restart data sets.
Define dual restart data sets and allocate them to different DASD volumes to ensure recovery in case of a disk failure. The restart data set names must match the data set names that you specify in the ERDS01 and ERDS02 DD statements in the PowerExchange Logger EDMUPARMS options module. To help distinguish restart data sets for different PowerExchange Logger subsystems, include the Logger ID as part of these data sets.
Use the following sample JCL in the #DEFRDS member of the
hlq
.SAMPLIB library, where
hlq
is the high-level qualifier that you specified at installation, to define the restart data set in dual mode:
// JOB //*-------------------------------------------------------------------* //* PowerExchange Change Data Capture - ALLOCATE LOGGER RESTART DATASETS //*-------------------------------------------------------------------* //* REPLACE THE FOLLOWING ITEMS WITH PROPER INSTALLATION VALUES //* 1. JCL DATA SET NAMES //* 2. IDCAMS COMMAND SPECIFICATIONS //* 3. REPLACE ???? WITH YOUR LOGGER NAME. USING THE LOGGER NAME AS A //* DATA SET NAME QUALIFIER PROVIDES A STANDARD TO INDICATE WHICH //* DATA SET BELONGS TO WHICH LOGGER. //*-------------------------------------------------------------------* //ALLOCRDS EXEC PGM=IDCAMS,REGION=4M //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSIN DD * DELETE (YOUR.????.ERDS01) ERASE DELETE (YOUR.????.ERDS02) ERASE SET MAXCC = 0 DEFINE CLUSTER - (NAME(YOUR.????.ERDS01) - VOLUMES(VVVVVV) - SHAREOPTIONS(2,3) - DATA - (NAME(YOUR.????.ERDS01.DATA) - RECORDS(200) - RECORDSIZE(4089 4089) - CONTROLINTERVALSIZE(4096) - FREESPACE(0 20) - KEYS(4 0) ) - INDEX - (NAME(YOUR.????.ERDS01.INDEX) - RECORDS(5 5) - CONTROLINTERVALSIZE(1024) ) DEFINE CLUSTER - (NAME(YOUR.????.ERDS02) - VOLUMES(VVVVVV) - SHAREOPTIONS(2,3) - DATA - (NAME(YOUR.????.ERDS02.DATA) - RECORDS(200) - RECORDSIZE(4089 4089) - CONTROLINTERVALSIZE(4096) - FREESPACE(0 20) - KEYS(4 0) ) - INDEX - (NAME(YOUR.????.ERDS02.INDEX) - RECORDS(5 5) - CONTROLINTERVALSIZE(1024) ) //*-------------------------------------------------------------------*
To allocate restart data sets:
  1. Make a working copy of the sample #DEFRDS member. Then edit the copy as required.
    The following table lists the required JCL statements:
    JCL Statement
    Description
    EXEC
    Specifies the IDCAMS program.
    SYSPRINT DD
    Specifies the output data set for MVS system messages.
    SYSIN DD
    Specifies the IDCAMS commands DELETE, SET MAXCC, and DEFINE.
    For more information about these utility commands, see your IBM documentation.
  2. Run the JCL procedure to create and configure the restart data sets.

0 COMMENTS

We’d like to hear from you!