Journal for metabase tables - Connect_CDC - aws_mainframe_modernization_service - connect_cdc_mimix_share - 6.x

Connect CDC Getting Started Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
6.x
Language
English
Product name
Connect CDC
Title
Connect CDC Getting Started Guide
Copyright
2024
First publish date
2003
Last updated
2024-10-15
Published on
2024-10-15T20:38:41.117981

When Connect CDC Director installs the metabase tables on the IBM i host, it creates a system-managed journal (QSQJRN is a library’s default SQL journal) and a receiver (log) with default parameters in the product library for transaction recovery. Connect CDC Director automatically issues the following commands to create the metabase:

CREATE collection <library>
CRTJRNRCV JRNRCV(<library>/QJQJRN0002) THRESHOLD (500000)
CHGJRN JRN <library>/QSQJRN) JRNRCV(<library>/QSQJRN0002) MNGRCV(*SYSTEM) DLTRCV/*YES)

To maintain the data integrity of the metabase and the queue tables contained within it, the metabase must be journaled. That means that, like any DBMS table that is journaled, the system writes whatever information it needs so that transactions can be rolled back or rolled forward, whichever is appropriate to maintain data consistency.

That usually means that before and after images of updates to rows are written to the journal, along with records that indicate transaction boundaries. Other records are written as well, for example, file and journal operations. Use the DSPJRN command to review what is written.

To change the way the metabase journals are being managed, use the CHGJRN command.

For information on journaling and journal record formats, consult IBM documentation.