DFR1058E SYSTEM DATASETS ARE INCONSISTENT - OLCSTAT. REASON CODE=nn LOG.MODID=aaaaaaaa, OLCSTAT.MODID=bbbbbbbb

Explanation

The scope of the online change of the IMS system to be recovered is global. IMS DEDB Fast Recovery found a mismatch in the level of the MODBLKS data set, the ACBLIB data set, or both. In the message text:

aaaaaaaa:
The latest modify ID from the processed log records in the IMS log.
bbbbbbbb:
The modify ID that IMS DEDB Fast Recovery found in the OLCSTAT data set during the control block initialization.
nn:
The reason code.
Code
Meaning
01
The modify ID does not match between the one in the header in the OLCSTAT data set and in the one in the log record (X'4001': Begin Checkpoint log record and/or X'7000': Online Change log record) in the log. This means that the log is not synchronized with the OLCSTAT data set.
02
Although the modify ID in the log is consistent with the modify ID in the header of the OLCSTAT data set, there is no record for the IMS system in the OLCSTAT data set and the IMS system is not the same level as the online change libraries.
03
The modify ID in the header in the OLCSTAT data set shows that one global online change, which included ACBLIB, was made before the failed IMS system was recovered. In this situation, IMS DEDB Fast Recovery cannot assure the consistency of the loaded control blocks: DMBs and the logged data in the log.
04
The modify ID in the header of the OLCSTAT data set shows that two or more global online changes were made after the failure of the IMS system that IMS DEDB Fast Recovery tried to recover. In this situation, IMS DEDB Fast Recovery cannot assure the consistency of the loaded control blocks: DMBs and the logged data in the log.

System action

The job ends with an abend code U1058.

User response

If the reason code is 01 or 02, check the cause of the error, and if necessary, run the Global Online Change Utility (DFSUOLC0) to correct the OLCSTAT data set. Then rerun the job. If the reason code is 03 or 04, use the Database Recovery Utility to recover DEDBs.