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

Recovering Damaged Restart Data Sets

Recovering Damaged Restart Data Sets

If a restart data set is damaged, delete it and then copy and rename the corresponding backup restart data set to create a replacement data set.
Use the following sample JCL in the #RCOVRDS member of the
hlq
.SAMPLIB library to delete the damaged restart data set and copy the backup:
// JOB //*-------------------------------------------------------------------* //* PowerExchange Change Data Capture - RECOVERING A RESTART DATA SET //*-------------------------------------------------------------------* //* 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=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * DELETE (YOUR.????.ERDS01) ERASE SET MAXCC = 0 DEFINE CLUSTER - (NAME(YOUR.????.ERDS01) - VOLUMES(volser) - SHAREOPTIONS(2 3) ) - DATA - (NAME(YOUR.????.ERDS01.DATA) - RECORDS(100) - RECORDSIZE(4089 4089) - CONTROLINTERVALSIZE(4096) - FREESPACE(0 20) - KEYS(4 0) ) - INDEX - (NAME(YOUR.????.ERDS01.INDEX) - RECORDS(5 5) - CONTROLINTERVALSIZE(1024) ) /* //*--------------------------------------------------------------------* //REPRORDS EXEC PGM=IDCAMS,REGION=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * REPRO INDATASET(YOUR.????.ERDS02) - OUTDATASET(YOUR.????.ERDS01) /*
To recover damaged restart data sets:
  1. Make a working copy of the sample #RCOVRDS member, and edit the copy as required.
    The following table describes the JCL statements in this member.
    JCL Statement
    Description
    EXEC
    Specify the IDCAMS program.
    SYSPRINT DD
    Specify the output data set for MVS system messages.
    SYSIN DD
    Specify the IDCAMS commands DELETE, SET, DEFINE, and REPRO.
    For more information about these IDCAMS utility commands, see your IBM documentation.
    PRILOG DD
    Specify the log data set names you used when you created the log data sets. You created these data sets during installation.
  2. Stop the PowerExchange Logger.
  3. Run the #RCOVRDS job.
  4. Restart the PowerExchange Logger.

0 COMMENTS

We’d like to hear from you!