If you have installed the CDC Replication Engine for Db2® for
i on
your source system and want to replicate a multi-member source table
to a single-member target table, then you need to identify each member
in the source table.
Before you begin
Before adding a member identifier, you need to create a column
on the target table that can maintain the identifiers for the members
in your source table. After creating the target column, map the journal
control field &MEMBER to this column.
Procedure
- Ensure that you have mapped a CDC Replication Engine for Db2 for
i multi-member
source table to a single-member target table on any platform
- Click
.
- Select the subscription.
- Click the Table Mappings view and select
the table mapping from the Source Table column.
- Right-click and select Open
Details....
- Click the Operation tab.
- Click Member Identifiers.
- Click Add.
- Enter the name of the member for which you want to add
an identifier in the Member Name box.
- Expand the Target Columns tree and
double-click to select the target column you want to include in the
member identifier WHERE clause.
- Click Verify to make sure the expression
is valid and click OK.
You can
continue adding identifiers for each member in your source table.
- Click OK.
- Click Save.