00D10261   

Explanation

While scanning the records and record segments in a log control interval (CI), it was discovered that the forward record chain was broken. This condition is the result of an incorrect record length in the log record header of some record in the log CI.

System action

This reason code can be issued by an active DB2® subsystem as the log buffers are scanned before they are written to the active log, or by the DB2 stand-alone log services GET processing macro (DSNJSLR) as a CI is retrieved from a user-specified active or archive log data set.

If the reason code is issued by an active DB2 subsystem, then an abend is issued. A diagnostic record is written to SYS1.LOGREC, and an SVC dump is requested.
  • If the error was detected by DSNJOFF1, then the archiving of the active log data set is terminated and the faulty active log data set is marked 'stopped'.
  • If the error was detected by DSNJR005, then message DSNJ012I is issued and the calling agent is terminated.
  • If the error was detected by DSNJW009, then message DSNJ012I is issued and the DB2 subsystem is terminated.
  • If the error was detected by DSNJW107, then the DB2 subsystem is terminated.

If this reason code is issued as the result of DB2 stand-alone log services GET processing, no abend is issued by the stand-alone log services CSECT (DSNJRS01), and no information is written to SYS1.LOGREC data set. Rather, in response to the DSNJSLR FUNC=GET call, DB2 places a return code of 4 in register 15 and a reason code of 00D10261 in register 0. Information about the results of the GET request is also returned in the stand-alone log GET feedback area (SLRF). The RBA of the record in error is placed in SLRFRBA. The address and length of the CI which contains the errant log record header are placed in SLRFFRAD and SLRFRCLL, respectively. The ddname of the data set on which the activity occurred is placed in SLRFDDNM.

Operator response

If the reason code is issued by an active DB2 subsystem, collect the SYS1.LOGREC and SVC dump, and notify the system programmer.

System programmer response

If the reason code is issued by an active DB2 subsystem, obtain the SYS1.LOGREC and the SVC dump from the operator.

Collect the following diagnostic items:
  • Dynamic dump, taken to SYS1.DUMPxx data set, by DB2 (04E and 04F abends).
  • Listing of SYS1.LOGREC data set, obtained by executing IFCEREP1.
  • Contents of the BSDS (both copies if dual BSDS in use) obtained by using the DB2 print log map (DSNJU004) utility.

Problem determination

If the reason code is issued by an active DB2 subsystem, obtain a DSN1LOGP detail report containing the log record(s) associated with the failure.

If the reason code is issued upon return of an invocation of the DB2 stand-alone log services macro (DSNJSLR), then an additional user-written exit or diagnostic routine may have to be written.