Error handling

FEPI does not recover any user data when an error condition is raised. Data recovery, if needed, must be performed by the application program. In addition, the output option values on a command are not set if the command fails; your program should not be using these values in such cases.

The recommended method is errors raised by FEPI commands should be handled by your application rather than letting CICS terminate the transaction abnormally. Errors and exceptions can be detected by using the RESP and RESP2 command options, or trapped using HANDLE CONDITION.