Using the sample user exit programs

CDC Replication provides several sample user exit programs for table/row-level operations, row filtering expressions, expressions, and notifications. You can use these samples as a starting point for creating your own user exit programs by inserting your customized code.

The sample user exit programs are automatically installed with CDC Replication, and are members in the DMCSRC source file that is placed in the CDC Replication product library.

Table 1. Sample user exit program provided with CDC Replication
Application User Exit Program Type Program Names
Table/Row-Level Operations COBOL BEFOREUSER
Row Filtering Expressions COBOL USERSEL1, USERSEL2
Expressions COBOL USERDRV1, USERDRV2
Expressions CL CLDRV1, CLDRV2
Notifications COBOL DMCALRMCBL
Notifications CL DMCALRMCLP
Notifications RPG DMCALRMRPG, DMCALRMRP3
Conflict Resolution C CDRSAMPL
CAUTION:
You should test all sample programs before they are invoked in your production environment.