Invoking user exit programs for conflict resolution
When a conflict is detected, you can resolve the conflict by invoking a customized user exit program.
The program allows you to define a conflict resolution strategy that is not covered by one of the standard resolution methods (publisher wins, subscriber wins, largest value wins, or smallest value wins). The user exit program can resolve a conflict by returning a row that will be applied to the target table.
After programs have been written and compiled, user exit programs must be referenced in Management Console in order to call them when conflicts are detected.
The default CDC Replication job description called DMCJOBD is created in the product library during installation.
If you want to invoke user exit programs to resolve conflicts, the library list for the job description that is used by CDC Replication jobs must include the libraries where the user exit programs reside. Since the library list for the default job description references the CDC Replication product library, it is recommended that you place the user exit programs in the product library to ensure they are found during replication.