Use the GAPFIX function when a gap occurs during Change Data Capture (CDC) processing.
A gap can occur at the following three points in time:
You handle each of the three previously described cases based on whether the control record still exists.
DB03121I - DBCPGPR DBDVL A-DBDVM01 STARTED LASTLXX-00000000000000 DB03121I - DBCPGPR DBDVL A-DBDVM01 ENDED LASTLXX-20060622142058
The date-time of the gap is provided in the ENDED form of message DB03121I following the LASTLXX in the format of ccyymmddhhmmss..
For more information about message DB03121I, see the CA Datacom/DB Message Reference Guide.
Note: GAPFIX also can generate error message DB03122E and informational message DB03123I.
For more information about messages DB03122E and DB03123I, see the CA Datacom/DB Message Reference Guide. Examples are:
DB03122E - DBCPGPR ERROR RXX EMPTY DB03123I - DBCPGPR ENDING
The GAPFIX function reads the control record and processes the RXX data in the same way that the CDCL task processes the LXX directly. The GAPFIX function adds TSN records and adds or deletes MNT records, just as CDCL does. It also updates the control record and does commits, similar to CDCL, but because the RXX is not track-oriented, the commits occur either after every 1000 CDC records or 10000 log records. The GAPFIX function of DBUTLTY can always be restarted if for some reason it fails.
If the control record does not exist, it might be because CDC is just starting or because the CDC database has been lost. If a control record does not exist, use GAPFIX and begin by choosing a starting date and time to use as the value of the GAPFIX DATETIME= keyword (see How to Use). In executing the GAPFIX function, ensure that the first and all subsequent RXX files after the date and time you specify are included. When GAPFIX execution begins, it makes certain that no control record exists then adds a record with a starting date and time of the first log record that matches or comes after the DATETIME= you specified. GAPFIX processes all RXX data in the same way as CDCL would. At completion, the CDC control record is updated to reflect the last RXX log record. After the GAPFIX function completes, you have two choices as follows:
|
Copyright © 2014 CA.
All rights reserved.
|
|