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. All the libraries are shown using the format CICSTSnn, where nn represents the CICS version.
Table 1. Supplied copybooks of RESPONSE and REASON codes
Copybook name Language Library
DFHXCRCD Assembler CICSTSnn.CICS.SDFHMAC
DFHXCRCH C CICSTSnn.CICS.SDFHC370
DFHXCRCO COBOL CICSTSnn.CICS.SDFHCOB
DFHXCRCL PL/I CICSTSnn.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.