Recovery for exit routines with FASTPATH processing

FASTPATH processing requires the caller to write a recovery routine to cover abnormal endings for the exit routines. The recovery routine must contain the RECOVER request. On that request, the caller provides:
  • The address of a work area (on the WORKAREA parameter)

    The CSVDYNEX service needs this area for its own use. The work area must be the same area specified on the CALL request.

  • The address of the SDWA (on the SDWA parameter)

    The caller must specify the address of the SDWA associated with the abnormally ended exit routine on the SDWA parameter. The caller can find this address in GPR1 when it gets control from RTM in its recovery routine. If the SDWA was not passed (GPR0 has a value of 12), the caller must provide an SDWA address of zero.

  • An area for the NEXTTOKEN (on the NEXTTOKEN parameter)

    In this area, the CSVDYNEX service returns a token that identifies the exit routine that abnormally ended.

  • A return area (on RETAREA and RETLEN parameters)

    In this area, the CSVDYNEX service stores the return information of the abnormally ended exit routine.