Add subscription to log reader capture - connect_cdc_sqdata - Latest

Connect CDC (SQData) Change Data Capture

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Change Data Capture
Copyright
2024
First publish date
2000
Last edition
2024-09-05
Last publish date
2024-09-05T15:00:09.754973

One or more output Datastores, also referred to as Subscriptions, may be specified for each Source table in the configuration file. Once the initial configuration file has been created, Datastores are added or removed using the SQDCONF modify command.

The following example adds a subscription for a second Target Engine DB2TOORA for changes to the SQDATA.dept table:
//*-----------------------------------------------
//*- ADD SECOND TARGET FOR A TABLE TO CONFIG FILE
//*-----------------------------------------------
//ADDTBL2 EXEC PGM=SQDCONF
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SQDPARMS DD *
 modify /home/sqdata/db2cdc/db2cdc.cab 
--key=<sqd.dept> --datastore=cdc:////DB2TOORA
--active 
//*
Note:
  • A modify must be performed for each source table that will be published to the new Engine.
  • The configuration file changes must be followed by an apply in order to have the capture agent recognize the updated configuration file.