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

Changing the Size of Active Log Data Sets

Changing the Size of Active Log Data Sets

You can change the size of existing active log data sets.
First estimate the average active log data set size and the space to allocate for each of these data sets.
To resize the data sets, use the JCL in the #SIZELOG member of the
hlq
.SAMPLIB member, where
hlq
the high-level qualifier that you specified during installation. This member contains IDCAMS DEFINE statements for allocating space for the resized active log data sets, such as:
DEFINE CLUSTER - (NAME (
hlq
.EDML.PRILOG.DS01) - LINEAR - VOLUMES(
volser
) - SHAREOPTIONS(2,3) - CYL(
nnn
) ) - DATA - (NAME(
hlq
.EDML.PRILOG.DS01.DATA) )
You must shut down the PowerExchange Logger and stop all capture and extraction tasks.
  1. Make a copy of the sample #SIZELOG member in the
    hlq
    .SAMPLIB library. This member contains JCL for changing the size of log data sets.
  2. Edit the JCL statements in the copy of the #SIZELOG member, as needed.
    The following table describes the JCL statements for the IBM IDCAMS program:
    JCL Statement
    Description
    EXEC
    Specify the IDCAMS program so that you can run the IDCAMS ALTER, DEFINE, and REPRO commands, which are specified in the SYSIN DD.
    SYSPRINT DD
    Specify the output data set for MVS system messages.
    SYSIN DD
    Specify the IDCAMS commands ALTER, DEFINE, and REPRO. For more information about these commands, see your IBM documentation.
    The following table describes the JCL statements for the PowerExchange EDMUTIL0 program:
    JCL Statement
    Description
    EXEC
    Specify the EDMLUTL0 program. This program formats the expanded portions of the active log data sets for the PowerExchange Logger.
    STEPLIB DD
    Add the PowerExchange CDC load library to the STEPLIB DD concatenation unless you added it to the system LNKLST concatenation.
    PRILOG DD
    Specify the active log data set name that you used to create the log data set.
  3. Stop all PowerExchange jobs and tasks for which the PowerExchange Logger writes data to or reads data from the active log data sets. These jobs and tasks include the PowerExchange Listener, all ECCRs associated with the PowerExchange Logger, PowerExchange Condense tasks, and PowerExchange netport jobs.
  4. After all log reader and writer threads stop, stop the PowerExchange Logger.
  5. Customize and run the JCL in the #DISPLOG member of the
    hlq
    .SAMPLIB sample library. This JCL uses the PowerExchange Logger batch interface to display the “in-use” active log data sets.
    If you want to display only the active log data sets, without the archive data sets, include the following TYPE parameter in the DISPLAY OBJECT=LOG command:
    DISPLAY OBJECT=LOG,
    TYPE=ACTIVE
    ,DSNAME=* END
    When you run the batch job, the following output is written to the EDMMSG data set:
    L O G S T A R T PWXEDM172502I EDM Logger BATCH initialization in-progress product level V2.4.04 10/15/2003 PWXEDM172638I EDM Logger system timestamp for ERDS = 2006.241 16:08:25.95 DISPLAY OBJECT=LOG,TYPE=ACTIVE,DSNAME=* END PWXEDM172572I EDM Logger input commands accepted execution started PWXEDM172679I EDM Logger LOG ACTIVE report follows: *Start RBA End RBA Log Dsname Status 000001FA4000 000002A2FFFF EDMUSR.PWX.PRILOG.DS01 REUS 000002A30000 0000034BBFFF
    EDMUSR.PWX.PRILOG.DS02 REUS,IN-USE
    000001518000 000001FA3FFF EDMUSR.PWX.PRILOG.DS03 REUS 000001FA4000 000002A2FFFF EDMUSR.PWX.SECLOG.DS01 REUS 000002A30000 0000034BBFFF
    EDMUSR.PWX.SECLOG.DS02 REUS,IN-USE
    000001518000 000001FA3FFF EDMUSR.PWX.SECLOG.DS03 REUS PWXEDM172506I EDM Logger BATCH Shutdown in progress PWXEDM172508I EDM Logger #### TASK EDMLIPC0 COMPLETE RC=00 PWXEDM172508I EDM Logger #### TASK EDMLCKP0 COMPLETE RC=00 PWXEDM172508I EDM Logger #### TASK EDMLRLM0 COMPLETE RC=00 PWXEDM172508I EDM Logger #### TASK EDMLLLG0 COMPLETE RC=00 PWXEDM172509I EDM Logger BATCH shutdown complete
    The PRILOG and SECLOG data sets that have the status of REUS,IN-USE are the in-use active log data sets.
  6. To change the size of the active log data sets, run the customized #SIZELOG job.
  7. Review the specifications for ARCHIVE_OPTIONS in the SETUPCC2 member of the
    hlq
    .RUNLIB library. Make any necessary adjustment to accommodate the new size of the active log data sets.
    An archive log data set requires the same amount of space as the active log from which it was created. If you increase the size of the active log data sets and you archive these logs to disk, you might also need to increase the space for the archive log data sets. You specify the amounts of primary and secondary space for archive log data sets in the ARCHIVE_OPTIONS parameter of the EDMUPARM options module. If you change these space amounts, update the corresponding values in the SETUPCC2 member.
    To change the archive log data set size, run only the first step of the job in the SETUPCC2 member. You do not need to run the second step, which defines the active log data sets to the PowerExchange Logger.
  8. Restart the PowerExchange Logger.
  9. Restart all of the PowerExchange jobs and tasks that you stopped in step 3.
    If you issue the PowerExchange Logger DISPLAY OBJECT=LOG command immediately after this procedure, the RBA range that is displayed for the active log data sets might not reflect the increased data set size. The PowerExchange Logger does not adjust the RBA ranges to account for additional space until it nears the end of the in-use active log data sets.

0 COMMENTS

We’d like to hear from you!