CSV221I   {LNKLST | LIBRARY} LOOKASIDE {INITIAL | REFRESH | UPDATE} BUILD ERROR (RC=reason-code, DSN=dsname1). LAST DIRECTORY ENTRY WAS mod FROM dsname2

Explanation

LNKLST or LIBRARY lookaside (LLA) detected an error that prevented it from accumulating all the directory entries during an INITIAL, REFRESH, or UPDATE BUILD.

In the message text:
reason-code
A hexadecimal reason code describing the error.
dsname1
The name of the data set with the error.
mod
The name of the last valid directory entry that had been obtained before the error or --NONE--, if there are no valid directory entries.
dsname2
The name for the data set from which the last valid directory entry had been obtained or ----NONE----, if there are no valid directory entries.
The hexadecimal reason codes are:
Reason Code
Explanation
01
dsname1 could not be allocated. This problem could indicate a serious error in LNKLST and require reIPL of the system. This reason code is accompanied by message CSV224I. Message CSV224I identifies the dynamic allocation error.
02
dsname1 could not be opened. This problem could indicate a serious error in LNKLST and require reIPL of the system.
03
The key of the directory block is zero.
04
LLA found the final (dummy) directory entry before reading the final (dummy) key.
05
A directory entry name is zero.
06
The block length is too small for the block to contain any directory entries.
07
LLA detected a discrepancy between the data in a directory block and the block's key or its given data length.
08
An I/O error occurred while LLA was reading from the directory of the LLA data set dsname1. This reason code is accompanied by message CSV225I. Message CSV225I identifies the error. If LNKLST appears in the text of CSV221I, this problem could indicate a serious error in LNKLST and require reIPL of the system.
09
LLA found the physical end of the directory for dsname1 before the last directory block was read. If LNKLST appears in the text of CSV221I, this problem could indicate a serious error in LNKLST and require reIPL of the system.
0A
LLA read more directory entries from LLA libraries than will fit into available storage.
0B
An unexpected error occurred while LLA was processing the directory for a library that was specified as LLA-managed.
14
An I/O error occurred during LLA processing.
15
A media error occurred during LLA processing.
16
An error occurred during data set processing.
17
An error occurred during SMS processing.
18
SMS failed to obtain the required resources.
19
An error occurred during LLA processing.

System action

LLA issues system completion code X'023', with reason code reason-code. The system will write an SVC dump and an error record in logrec data set. For an initial build, LLA will issue message CSV222I or CSV218E, and the system will end the LLA address space. For a refresh, LLA issues message CSV217I, ignores the refresh request, and retains the old directory.

If LLA ends, the system will continue to access directories using BLDL search I/O.

Operator response

Notify the system programmer.

Programmer response

Correct the error, depending on the reason code. If CSV217I had been issued, correct the problem, then refresh LLA. If CSV218E had been issued, correct the problem, then restart LLA.

If CSV222I had been issued and if the problem is uncorrected, LLA will end again and issue CSV218E.

Some reason codes require additional actions to correct the error; these hexadecimal codes and the appropriate actions are:
Reason Code
Action
01
Respond as indicated for message CSV224I.
02
The BSAM DCB used by LLA to read the directories for the LLA libraries is in the LLA address space, which is in the SVC dump for the X'023' ABEND. Verify that the data control block (DCB) is correct and was not overlaid. If the error cannot be corrected, reIPL the system without the defective data set in LNKLST.
03, 04, 05, 06, 07, 09
If the directory error cannot be corrected, your response depends on whether you are using LNKLST lookaside or LIBRARY lookaside. If LNKLST appears in the message text, reIPL the system without the defective data set in LNKLST. If LIBRARY appears in the message text, remove the library name from the list of libraries that LLA manages.
08
Respond as indicated for message CSV225I.
0A
Your response depends on whether you are using LNKLST lookaside or LIBRARY lookaside.

If LNKLST appears in the message text, reduce the number of directory entries in LNKLST data sets by deleting members, without compressing the data sets, and then refresh LLA.

If LIBRARY appears in the message text, remove libraries from the list of libraries that are LLA-managed until LLA can successfully build its directories.

If the error occurred during a refresh request and if the system load permits an interruption in LLA availability, perhaps enough storage could be provided by stopping LLA and restarting it in a fresh address space.

14, 15, 16, 17, 18, 19
Search problem reporting databases for a fix for the problem. If no fix exists, contact the IBM® Support Center. Provide all printed output and output data sets related to the problem, the program listing for the job, the JCL for the job, and the logrec data set error record.

Source

Contents supervision (CSV)

Routing Code

2,10

Descriptor Code

4