There are two parameters in the CICS® VT FBE parameter list that you use to perform error processing.
There are four possible outcomes that you can choose:
You set these conditions in your exit using the parameter EXRET. Each time an FBE is invoked, EXRET is set to SPACE. If you are reporting an SQL error, also set EXSQLCA to the address of the SQLCA in your exit.