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

Adding Active Log Data Set Definitions to the Restart Data Set

Adding Active Log Data Set Definitions to the Restart Data Set

The installation process creates definitions for at least three active log data sets. With three data sets allocated, two are active and one is always available for selection. The startup procedure for the PowerExchange Logger dynamically allocates the active log data sets named in the restart data sets. Use this procedure to create additional data set definitions as required for your site. You can have a maximum of 31 active logs.
First determine the size and number of active log data sets required for your organization.
To help distinguish log data sets from different PowerExchange Logger subsystems, include the subsystem name in the high-level qualifiers of these data sets. Use the IDCAMS parameters to define the active log data sets. Adjust the CYL parameters for the active log data sets according to the expected volume of logging.
Use the following sample JCL in the #ADDLOGS member of the
hlq
.SAMPLIB library, where
hlq
the high-level qualifier that you specified during installation, to add active log data sets:
// JOB //*-------------------------------------------------------------------* //* PowerExchange CDC - DEFINE ACTIVE LOG DATA SETS TO LOGGER //*-------------------------------------------------------------------* //* REPLACE THE FOLLOWING ITEMS WITH PROPER INSTALLATION VALUES //* 1. JCL DATA SET NAMES //* 2. 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. //*-------------------------------------------------------------------* //DEFLOG EXEC PGM=EDMLC000,PARM='????,BATCH' //STEPLIB DD DISP=SHR,DSN=HLQ.LOAD <=== PWX LOAD //EDMPARMS DD DISP=SHR,DSN=YOUR.USERLIB <=== EDMSDIR,EDMUPARM //ERDS01 DD DISP=SHR,DSN=YOUR.????.ERDS01 <=== PRI RESTART DSN //ERDS02 DD DISP=SHR,DSN=YOUR.????.ERDS02 <=== SEC RESTART DSN //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE_LOG DSNAME=YOUR.????.PRILOG.DS03, COPY=PRILOG END DEFINE_LOG DSNAME=YOUR.????.SECLOG.DS03, COPY=SECLOG END /*
In this JCL, HLQ and YOUR represent high-level qualifiers that you specified during installation. The question marks represent the PowerExchange Logger ID associated with the log data sets.
To add active log data set definitions to the restart data set:
  1. Make a working copy of the sample #ADDLOGS member. Then, edit the copy as required.
    The following table describes the JCL statements:
    JCL Statement
    Description
    EXEC
    Specify the EDMLC000 program.
    PARM
    Include the Logger name, followed by BATCH.
    STEPLIB DD
    Include the PowerExchange CDC load library. If you added the load library to your system's LNKLST concatenation, you do not need to add it to the STEPLIB.
    EDMPARMS DD
    Specify the name of the user library (YOUR.USERLIB) that contains the PowerExchange Logger EDMUPARMS module options associated with the PowerExchange Logger that uses these data sets.
    ERDS01 DD
    Specify the data set name of the primary restart data set. Make sure that this name matches the name you used when you created this data set.
    ERDS02 DD
    Specify the data set name of the backup restart data set. Ensure that this name matches the name you used when you created this data set.
    SYSPRINT DD
    Specify the output data set for MVS system messages.
    SYSIN DD
    Specify the PowerExchange Logger command, DEFINE_LOG.
  2. Stop the PowerExchange Logger.
  3. Run the JCL procedure to define the active log data sets.
  4. Restart the PowerExchange Logger.

0 COMMENTS

We’d like to hear from you!