DFS0738X ERROR TERMINATING OLDS RC=xx dddddddd nnnnnnn

Explanation

Restart cannot proceed because of errors encountered trying to terminate an OLDS during IMS restart.

In the message text:
dddddddd
The ddname of the data set being processed when the error was encountered. dddddddd can be blank.
nnnnnnn
The log sequence number last processed. nnnnnnn can be blank.
xx
The hexadecimal error code. Register 14 contains the address of the routine that detected the error. Register 15 contains an error code.
Code (hex)
Meaning
01
Could not open the WADS while trying to locate the last-used WADS.
02
The WADS was not the one used when the OLDS was used.
05
The WADS was not the one used when the OLDS was used.
06
WADS at the time of the last IMS failure was unavailable. The error occurred while trying to locate the last-used WADS.
07
TRKCALC macro failed while trying to locate the last used WADS.
09
OLDS block sequence error (next sequential block was not found but a higher sequence block was found in the WADS) while rebuilding an OLDS block. A read error might have occurred in the middle of the OLDS.
0B
WADS segment TOD is not in ascending order while rebuilding an OLDS block.
0C
Invalid BDW was found in the rebuilt OLDS block.
0D
Invalid RDW was found in the rebuilt OLDS block.
0E
RDW of X'FFXX' was found in the rebuilt OLDS block, and it was not the last block in the WADS.
0F
Log record sequence error was found in the rebuilt OLDS block.
10
Read error in a WADS while rebuilding an OLDS block.
11
EOF was detected in a WADS while rebuilding an OLDS block.
12
Invalid segment ID (segment count is too large) was found while rebuilding an OLDS block.
13
Device error (segments were not written in the contiguous WADS records) was found while rebuilding an OLDS block.

A sequence of WADS records had fewer records than it should.

14
Logic error was detected in module DFSFDLW0.
1C
OLDS termination process failed. Message DFS0738I, indicating the cause of the error, might have been issued before this message.
20
A reusable OLDS is unavailable. IMS could not find an OLDS while copying an OLDS block from a WADS. All OLDS are either marked in error or unarchived.
21
Not enough space on the current OLDS to hold all the WADS data, and no OPEN or reusable OLDS are available.
22
Logic error was detected in module DFSFDLU0.

System action

IMS terminates with abend 0005.

Programmer response

Terminate OLDS, using the Log Recovery utility; then restart IMS.

Problem determination

1, 5, 8, 11, 36

Save a copy of the OLDSs and WADSs data sets. Also, list the DBRC RECON data set.

Module

DFSFDLM0, DFSFDLN0, DFSFDLP0, DFSFDLR0