Recovery for the CALL request

As definer of the exit and caller of exit routines, you need to know what to expect in the event that an exit routine abnormally ends. The CSVDYNEX service responds to such a failure according to whether or not the exit routines have FASTPATH processing:
  • If FASTPATH processing is in effect (that is, the CALL request has FASTPATH=YES specified), the CSVDYNEX service does not provide recovery for a failing exit routine. The issuer of the CALL request must provide it. If an exit routine abnormally ends, control passes to the caller's recovery routine. That routine must issue the RECOVER request to complete the processing of the exit and return control to the system.
  • If FASTPATH processing is not in effect and an exit routine abnormally ends, the CSVDYNEX service performs recovery and continues processing the exit, perhaps passing control to the next exit routine. The CSVDYNEX service places information in the return area indicating that the routine abnormally ended.

When you define an exit, you can limit the number of abnormal endings an exit routine can have before the system stops calling it.