SHOWCAT return codes

VSAM returns a code in register 15 that indicates whether the SHOWCAT request was successful. Table 1 describes these return codes.

Table 1. SHOWCAT Return Codes
Return Code Meaning
0(X'00') VSAM completed the task.
4(X'04') The area specified in the AREA operand is too small to display all pairs of fields for the associated objects.
8(X'08') There is insufficient virtual storage to complete the task. (A GETMAIN failed.)
12(X'0C') Either the ACB address is invalid, or the VSAM master catalog does not exist, or it is not open.
16(X'10') The address specified in the AREA operand is outside the partition or address space of the program that issued SHOWCAT.
20(X'14') The named object or control interval does not exist.
24(X'18') There was an I/O error in gaining access to the catalog.
28(X'1C') The control interval number is invalid.
32(X'20') The catalog record does not describe a C, D, G, I, R, or Y type of object.
36(X'24') The interrelationship among catalog entries is in error. For example, another type.
40(X'28') There was an unexpected error code returned from catalog management to the SHOWCAT processor.