00D10063   

Explanation

The DB2® stand-alone log services GET processing macro (DSNJSLR) issued this reason code. The requested record was found to be a last spanned record segment, but a preceding first record segment does not exist. The GET function will complete, but will issue this reason code as a warning.

System action

In response to the DSNJSLR FUNC=GET call, DB2 places a return code of 4 in register 15 and a reason code of 00D10063 in register 0. No abend is issued by the stand-alone log services CSECT (DSNJRS01), and no information is written to SYS1.LOGREC data set. The GET function will complete, but will issue this reason code as a warning.

Information about the results of the GET request is also returned in the stand-alone log GET Feedback Area (SLRF). The length and address of the requested record are placed in fields SLRFRCLL and SLRFFRAD, respectively. The RBA associated with the log record segment is placed in SLRFRBA. The ddname of the data set on which the activity occurred is placed in SLRFDDNM.

The stand-alone log services program is under the control of a user-written program that uses the DSNJSLR macro. The user program must therefore anticipate and react to a nonzero return code and a nonzero reason code, possibly by terminating the execution of the user program.

System programmer response

Several possibilities exist for the cause of this condition:
  • The Recovery Log Manager component of DB2 did not originally construct the log record header (LRH) properly.
  • The LRH for the log record segment was damaged after it was written by the DB2 subsystem.
  • The application program continued to process after receipt of a 00D10021 reason code (gap in the log).
  • Striped logs are mirrored to a remote site, individual control intervals were propagated in a different order than they were originally written, and the propagated copy did not reach a point of consistency.

If the error was caused by the application program, modifications to the application program may be required.

If the error is a suspected DB2 problem, run the log print (DSN1LOGP) utility, specifying a range of RBAs which would encompass the problem RBA. Determine if the LRH of the log record segment is truly in error by looking at the record segments directly preceding and after the record segment in question.