Setting a notification using a user exit program (CDC Replication Engine for Db2 for i)

You can indicate that you want to launch a user exit program when a certain type of message is generated.

Before you begin

This task is only applicable if you are connected to a IBM® CDC for Db2® for i datastore.

Note that you are responsible for creating the user exit program and ensuring that it works properly.

Procedure

  1. Click Configuration > Datastores.
  2. Right-click on a datastore and select Notifications.
  3. Depending on whether you want CDC Replication to detect events on the source datastore or on the target datastore, click the Source tab or the Target tab.
  4. Select a category from Notification Categories.
  5. Select the USER HANDLER box.
  6. Enter the name of the user exit program in the Program box.
  7. Enter the name of the library in the Library box.