The AS400USRJRNCODE defines two-character journal entry type codes that identify SNDPWXJRNE add library and delete library entries in a DB2 for i5/OS user journal. Use this statement to override the default journal entry type codes that the SNDPWXJRNE command uses.
The SNDPWXJRNE command issues requests for refreshing the CDC library interest list for added or deleted libraries. The libraries must contain instances of the same source table, and the table instances must be journaled to the same user journal.
This statement applies to all of the DB2 for i5/OS instances that are defined in AS4J CAPI_CONNECTION statements with the ALWLIBRFSH=Y setting in the same DBMOVER member.
DB2 for i5/OS
CAPI_CONNECTION - AS4J
Use a comma (,) to separate the ADDLIB and DTLLIB parameters.
Optional. Enter a unique two-character journal entry type code, such as U1, that the SNDPWXJRNE command writes to the journal for an SNDPWXJRNE add library (*ADDLIB) entry. Overrides the default code of I1.
Optional. Enter a unique two-character journal entry type code, such as U2, that the SNDPWXJRNE command writes to the journal for a SNDPWXJRNE delete library (*DLTLIB) entry. Overrides the default code of I2.
For PowerExchange to use this statement, you must set the ALWLIBRSH parameter in the AS4J CAPI_CONNECTION statement to Y. This setting enables you to use the SNDPWXJRNE command to refresh the CDC library interest list after you add or delete
libraries that contain instances of the same DB2 source table and that are journaled to the same user journal, without restarting real-time PowerCenter PWXPC CDC sessions.
By default, the SNDPWXJRNE command uses I1 as the entry type code for an add library request and uses I2 for a delete library request. If these journal entry type codes are used by another application, you must specify unique entry type codes with this AS400USRJRNCODE statement.
The journal entry codes that you specify in this statement, or the default journal entry codes, are not specific to the journals that are identified in the AS4J CAPI_CONNECTION statements in the same DBMOVER member. PowerCenter CDC sessions can override these journals at runtime.
For more information about event message queues, see the