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

Configuring the Restart Token File

Configuring the Restart Token File

When you configure the CDC session in PowerCenter, specify the name and location of the restart token file.
To specify the restart token file, enter the following attributes on the PWX CDC application connection for the source:
RestartToken File Folder
Enter the name of the directory that contains the restart token file. If you use the default value of $PMRootDir/Restart and the Restart directory does not exist, PWXPC creates the directory. PWXPC does not create any restart token directory under another name.
RestartToken File Name
Enter a unique name for the restart token file. If you do not specify this value, PWXPC uses the value in the
Application Name
attribute, if present. Otherwise, PWXPC uses the workflow name. Because this name must be unique, Informatica recommends that you always specify a value for the
RestartToken File Name
attribute.
When you run a CDC session, PWXPC verifies that the restart token file exists. If one does not exist, PWXPC uses the name specified in this attribute to create an empty restart token file.
The value of
RestartToken File Name
attribute in must be unique for every CDC session. Non-unique file names can cause unpredictable results, such as change data loss and session failures.
To find the restart token file name for a CDC session, use the following methods:
  • For CDC sessions that have run, look for message PWXPC_12057 in the session log. This message indicates the restart token file directory and file name.
  • In Workflow Manager, look for the restart token file folder and file name in the attributes on the PWX CDC application connection associated with the source in the CDC session. If the restart token file name is not present, PWXPC uses the application name, if specified. Otherwise, PWXPC uses the workflow name.
Before you run a CDC session the first time, configure the restart token file to indicate the point in the change stream from which to start extracting change data. Later, you might need to modify the restart token file to add sources to a CDC session or to indicate the point from which to restart change data extraction.

0 COMMENTS

We’d like to hear from you!