Return codes

All the possible return codes are contained in a CICS®-supplied copybook, which you must include in the program source of your external, non-CICS program.

The names of the copybooks for the supported languages, and the libraries that they are supplied in, are shown in Table 1.
Table 1. Supplied copybooks of RESPONSE and REASON codes
Copybook name Language Library
DFHXCRCD Assembler CICSTS56 .CICS.SDFHMAC
DFHXCRCH C CICSTS56 .CICS.SDFHC370
DFHXCRCO COBOL CICSTS56 .CICS.SDFHCOB
DFHXCRCL PL/I CICSTS56 .CICS.SDFHPL1

z/OS® provides copybooks for use with the interfaces described in Use of sync points in the client program. These are described in z/OS MVS Programming: Resource Recovery and z/OS MVS Programming: Callable Services for High-Level Languages.