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

Read Progress Messages

Read Progress Messages

You can request that PowerExchange write read progress messages to the PowerExchange message log file. These messages indicate the number of change records read for a CDC session.
If you select the
Retrieve PWX log entries
option on the PWX CDC application connection, PWXPC also writes these messages in the session log.
To have PowerExchange write read progress messages, include the following statements in the DBMOVER configuration file:
PRGIND=Y
Enter Y to have PowerExchange write PWX-04587 messages to the PowerExchange message log file. These messages indicate the number of records read for a CDC session. Default is N.
PRGINT=
records
Enter the number of records that PowerExchange must read before writing PWX-04587 messages to the PowerExchange message log file. Default is 250 records.
For example, to have PowerExchange write read progress messages after reading 100 records, specify the following statements:
PRGIND=Y PRGINT=100
PWX-04587 messages have the following format:
PWX-04587
int_server
/
workflow_name
/
session_name
: Records read=
records
Where:
  • int_server
    is the name of the PowerCenter Integration Service.
  • workflow_name
    is the name of the workflow that contains the CDC session.
  • session_name
    is the name of the CDC session.
  • records
    is the cumulative number of records read since the CDC session started.
For example, for a CDC session named s_cdc_DB2_SQL_stats runs, PowerExchange writes the following messages:
PWX-04587 intserv/wf_cdc_mon_stats/s_cdc_DB2_SQL_stats: Records read=100
PWX-04587 intserv/wf_cdc_mon_stats/s_cdc_DB2_SQL_stats: Records read=200
PWX-04587 intserv/wf_cdc_mon_stats/s_cdc_DB2_SQL_stats: Records read=300
PowerExchange continues to write PWX-04587 messages for this CDC session until the session ends. In the PowerExchange message log file, each of these messages has a date and time stamp. Use this information to determine the speed with which PowerExchange processes change data from the change stream.

0 COMMENTS

We’d like to hear from you!