FileHwmReader used to read content of High Water Mark (HWM) file - Connect_CDC - connect_cdc_mimix_share - 6.x

Connect CDC Getting Started Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
AWS Mainframe Modernization > AWS Mainframe Modernization Service
Version
6.x
ft:locale
en-US
Product name
Connect CDC
ft:title
Connect CDC Getting Started Guide
Copyright
2024
First publish date
2003
ft:lastEdition
2025-06-10
ft:lastPublication
2025-06-10T19:59:48.187000

For Google Pub Sub and Kafka target, the HWM is stored in a flat file with binary content. You can access and read the file.

To run FileHwmReader from the command line
  1. cd to the kernel directory where CDC is installed.
  2. Set the CLASSPATH environment variable to omni.jar, if not already set. For example,
    set CLASSPATH=%CLASSPATH%;patch.jar;.;omni.jar;
  3. The format of the command is:
    FileHwmReader < HWM filename> <serverId>
  4. Execute the command using Java. For example,
    java omnienterprise.HwmReader.FileHwmReader  AS04_dot_filetgt_trans_hwm_src3_tgt12_req13_BUR_DD_ML200.file 2

    where ‘AS04_dot_filetgt_trans_hwm_src3_tgt12_req13_BUR_DD_ML200.file’ is the HWM file name and the serverId is 2 from the command above.