To set up replication for shadow tables in Linux and UNIX operating systems, use the CHCCLP command-line interface for IBM® InfoSphere® Change Data Capture to create one subscription for all shadow tables in your database and one table mapping for each shadow table.
Creating a subscription defines a container for the set of table mappings that you must define for each shadow table. Creating a table mapping defines the source table for replicating data to the shadow table.
A subscription provides a single point of control for common replication operations such as mirroring and refreshing. Mirroring is the process that replicates changed data from the source table to the shadow table. Refreshing is the process that synchronizes the shadow table with the current contents of the source table.
Be sure to create only one subscription for all shadow tables in the same database so that there is only one synchronization point for all shadow tables in the database.
To set up replication for shadow tables:
After you create all table mappings, start your subscription to begin replicating data to the shadow tables. For more information, see Replicating data to shadow tables with CHCCLP.