RESPONSE and REASON options
Once an API command completes processing, it returns a response and, if appropriate, a reason. You must specify the RESPONSE and REASON options on each command to receive the response and reason values returned by that command.
Note: The TBUILD and TPARSE commands, which can be used
only with the REXX run-time interface, do not use the RESPONSE and
REASON options. The result of these REXX-specific processes is returned
by their STATUS option. For more information, see the descriptions
of the TBUILD and TPARSE commands in REXX functions and commands.
- RESPONSE(data-ref)
- data-ref is a user-defined variable. On return from the command, it contains a character value that describes the result of command processing. RESPONSE values are given in the description of each command.
- REASON(data-ref)
- data-ref is a user-defined variable. On return from the command, it contains a value that further qualifies the response to certain commands. REASON values are given with the RESPONSE values, for those responses that use them.
For more information about the RESPONSE and REASON options, see Developing CICSPlex SM applications. For a summary of RESPONSE and REASON values by command, see RESPONSE and REASON values.