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

Moving Log Data Sets to Other Devices

Moving Log Data Sets to Other Devices

You can move PowerExchange Logger for z/OS log data sets to another device if necessary.
You must configure a job that allocates space on the target device and moves the data sets. PowerExchange provides sample JCL in the #MOVELOG member of the
hlq
.SAMPLIB library, where
hlq
is the high-level qualifier that you specified at installation.
  1. Make a working copy of the sample #MOVELOG member. Then edit the copy.
    The sample member includes the following JCL statements:
    // JOB //*-------------------------------------------------------------------* //* PowerExchange Change Data Capture - MOVING A LOG 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. //*-------------------------------------------------------------------* //ALTERLOG EXEC PGM=IDCAMS,REGION=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * ALTER YOUR.????.PRILOG.DS01 - NEWNAME(YOUR.????.TEMPLOG.DS01) ALTER YOUR.????.PRILOG.DS01.DATA - NEWNAME(YOUR.????.TEMPLOG.DS01.DATA) /* //*-------------------------------------------------------------------* //ALLOCLOG EXEC PGM=IDCAMS,REGION=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE CLUSTER - (NAME(YOUR.????.PRILOG.DS01) - LINEAR - VOLUMES(VVVVVV) - CYL(CC) ) - DATA - (NAME(YOUR.????.PRILOG.DS01.DATA) ) /* //*-------------------------------------------------------------------* //REPROLOG EXEC PGM=IDCAMS,REGION=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * REPRO INDATASET(YOUR.????.TEMPLOG.DS01) - OUTDATASET(YOUR.????.PRILOG.DS01) /* //*-------------------------------------------------------------------* //* NOTE: THE NEXT STEP WILL *NOT* DESTROY THE DATA THAT WAS JUST //* COPIED INTO THE PRILOG DATASET. INSTEAD, THE UTILITY DETECTS //* WHETHER ANY PART OF THE DATASET HAS BEEN ALLOCATED, BUT NOT //* YET FORMATTED, AND ONLY FORMATS *THAT* PART OF THE DATASET. //*-------------------------------------------------------------------* //FORMATLG EXEC PGM=EDMLUTL0,REGION=0M //STEPLIB DD DISP=SHR,DSN=HLQ.LOAD <=== CDM LOADLIB //PRILOG DD DISP=OLD,DSN=YOUR.????.PRILOG.DS01 <=== LOG DATASET //*-------------------------------------------------------------------*
    The following table describes the JCL statements:
    JCL Statement
    Description
    EXEC
    For the ALTER, DEFINE, and REPRO commands, specify the IDCAMS program.
    To format the active log data sets for the PowerExchange Logger, specify the EDMLUTL0 program.
    STEPLIB DD
    Include the PowerExchange Change Data Capture load library.
    If you added the load library to your system's LNKLST concatenation, you do not need to add it to the STEPLIB concatenation.
    SYSPRINT DD
    Specify the output data set for z/OS system messages.
    SYSIN DD
    Specify the IDCAMS commands ALTER, DEFINE, and REPRO.
    For more information about these IDCAMS utility commands, see your IBM documentation.
    PRILOG DD
    Specify the log data set names that you used when you created the log data sets.
  2. Stop the PowerExchange Logger.
  3. Run the job that you configured in Step 1 to move the log data sets.
  4. Restart the PowerExchange Logger.

0 COMMENTS

We’d like to hear from you!