Table of Contents

Search

  1. Preface
  2. Change Data Capture Introduction
  3. PowerExchange Listener
  4. PowerExchange Condense
  5. DB2 for i5/OS Change Data Capture
  6. Remote Logging of Data
  7. Introduction to Change Data Extraction
  8. Extracting Change Data
  9. Monitoring CDC Sessions
  10. Managing Change Data Extractions
  11. Tuning CDC Sessions
  12. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for i5/OS

CDC Guide for i5/OS

Implementing Event Table Processing

Implementing Event Table Processing

Use this procedure to implement event table processing. With event table processing, you can stop change data extraction processing based on user-defined events.
  1. Create an event table.
    The event table must be of the same source type and on the same machine as the change data to be extracted. For example, if you extract Db2 change data on z/OS, the event table must be a Db2 table in the same Db2 subsystem as the Db2 source tables for the extraction.
  2. In the PowerExchange Navigator, create a capture registration for the event table.
    When you create the capture registration, the PowerExchange Navigator generates a corresponding extraction map.
  3. In PowerCenter, create a CDC connection and session.
    In the
    Event Table
    attribute on the PWX CDC Real Time application connection, enter the name of the extraction map associated with the capture registration that you created.
  4. Define applications that write an update to the event table whenever the defined event occurs.
    PowerExchange reads the update and places an end-of-file (EOF) in the change stream. PWXPC processes the EOF, passes it to the PowerCenter Integration Service, and then shuts down the PowerExchange reader. The PowerCenter Integration Service completes writing all of the data that is in the pipeline to the targets and then ends the CDC session.

0 COMMENTS

We’d like to hear from you!