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

Creating the Post-Log Merge Job

Creating the Post-Log Merge Job

Each Post-Log Merge group requires a single Post-Log Merge job. This is a long-running job (just like the Logger) and is generally best setup as a Started Task. This job (or started task) can run on any MVS system within the sysplex.
All log readers (PowerExchange Listener, netport, and Condense jobs) connect to the Post-Log Merge job, which means that they must run on the same MVS system as the Post-Log Merge job. Log writers like ECCRs connect to member Loggers rather than the Post-Log Merge job.
Sample JCL for the Post-Log Merge job can be found in the PowerExchange SAMPLIB data set in member #POSTLOG. This JCL needs to be customized for your environment. The following example shows sample JCL for this job where the Post-Log Merge group is comprised of three member Loggers.
Sample JCL Statements for a Post-Log Merge Job:
// JOB //*-------------------------------------------------------------------* //* POST LOG MERGE //*-------------------------------------------------------------------* //* WARNING: DO NOT PLACE THE SECONDARY ERDS IN THE JOB OR INCORRECT //* RESULTS WILL OCCUR. //*-------------------------------------------------------------------* //* REPLACE THE FOLLOWING ITEMS WITH PROPER INSTALLATION VALUES //* 1. JCL DATA SET NAMES //* 2. PRIMARY ERDS FROM EACH LOGGER //*-------------------------------------------------------------------* //READER EXEC PGM=EDMLCTRD,PARM='TRACEE' //STEPLIB DD DISP=SHR,DSN=<HLQ>.LOAD <=== LOAD modules //EDMPARMS DD DISP=SHR,DSN=<HLQ>.USERLIB <=== EDMSDIR,EDMUPARM //ERDS01 DD DISP=SHR,DSN=YOUR.SYSTEM1.ERDS <=== ERDS OF SYSTEM 1 //ERDS02 DD DISP=SHR,DSN=YOUR.SYSTEM2.ERDS <=== ERDS OF SYSTEM 2 //ERDS03 DD DISP=SHR,DSN=YOUR.SYSTEM3.ERDS <=== ERDS OF SYSTEM 3 //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //*-------------------------------------------------------------------*
Use the USERLIB that has been created for the MVS system on which the Post-Log Merge job runs.
For the DDNAME of the ERDS, you must use the following format:
//ERDS
nn
The variable
nn
represents a two-digit value from 01 to 99. When you set up the Post-Log Merge job, specify only one ERDS
nn
DD statement, usually the primary one, for each PowerExchange Logger.

0 COMMENTS

We’d like to hear from you!