Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange
  3. DBMOVER Configuration File
  4. Netport Jobs
  5. PowerExchange Message Logs and Destination Overrides
  6. SMF Statistics Logging and Reporting
  7. PowerExchange Security
  8. Secure Sockets Layer Support
  9. PowerExchange Alternative Network Security
  10. PowerExchange Nonrelational SQL
  11. PowerExchange Globalization
  12. Using the PowerExchange ODBC Drivers
  13. PowerExchange Datatypes and Conversion Matrix
  14. Appendix A: DTL__CAPXTIMESTAMP Time Stamps
  15. Appendix B: PowerExchange Glossary

AS400USRJRNCODE Statement

AS400USRJRNCODE Statement

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.
i5/OS
DB2 for i5/OS
CAPI_CONNECTION - AS4J
No
AS400USRJRNCODE=(ADDLIB=
jrn_entry_type_code
,DLTLIB=
jrn_entry_type_code
)
Use a comma (,) to separate the ADDLIB and DTLLIB parameters.
ADDLIB=
journal_entry_type_code
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.
DLTLIB=
journal_entry_type_code
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
    i5/OS
    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
PowerExchange CDC Guide for
i5/OS
.