FIND completion codes

For ttrc address, C, when the system returns control to the problem program, the contents of register 15 are set to 0. If the TTRC address is in error, execution of the next CHECK macro causes control to be passed to the error analysis (SYNAD) routine.

For name address, D, when the system returns control to the problem program, the 3 high-order bytes of registers 0 and 15 are set to 0, the low-order byte of register 15 contains one of the following return codes and the low-order byte of register 0 contains one of the following reason codes:

Table 1. FIND Completion Codes
Return Code (15) Reason Code (0) Meaning
00 (X'00') 00 (X'00') Successful execution.
04 (X'04') 00 (X'00') Name not found.
04 (X'04') 04 (X'04') The caller has only RACF® execute authority to the PDSE.
04 (X'04') 04 (X'04') An attempt to connect to a UNIX file failed because the some data set in the concatenation is protected with RACF execute-only authority.
04 (X'04') 08 (X'08') The PDSE member's share options do not allow you to access it.
04 (X'04') 12 (X'0C') The PDSE is open for output and the FIND macro was issued to point to a member other than the one currently processing.
08 (X'08') 00 (X'00') Permanent I/O error during directory search.
08 (X'08') 04 (X'04') Insufficient virtual storage available.
08 (X'08') 08 (X'08') Invalid DEB, or DEB is not owned by a TCB in the current family of TCBs.
08 (X'08') 12 (X'0C') An I/O error occurred while flushing system buffers containing member data (PDSE only).
08 (X'08') 16 (X'10') No DCB address was input.
08 (X'08') 20 (X'14') An error was returned by IGGSOOPN when attempting to connect to a UNIX file. See message IEC104I for more details.
08 (X'08') 24 (X'18') An attempt to connect to a UNIX file failed because the user did not have RACF authority to access to the file.