Passing the parameter area

When you provide a recovery routine, you have the opportunity to identify to the system the parameter area you want passed to the recovery routine. Here are the ways to accomplish that:
  • ESTAE, ESTAEX, and FESTAE routines

    Use the PARAM parameter on the ESTAE, ESTAEX, or FESTAE macro to specify the address of the parameter area you have constructed.

    Note: For a recovery routine defined by a FESTAE macro, there is also a 24-byte parameter area available in the SVRB, in field RBFEPARM. See Providing recovery with minimal processor overhead (FESTAE macro) for more information about RBFEPARM.
  • ESTAI routines

    Use the ESTAI parameter on the ATTACHX macro to specify both the address of the recovery routine to get control, and the address of the parameter area you have constructed.

  • ARRs
    • If the ARR will not be given control in AMODE 64, the stacking PC routine for which the ARR was defined can use the 8-byte modifiable area of the linkage stack to provide the address and ALET of the parameter area to be passed to the recovery routine.
    • If the ARR will be given control in AMODE 64, the stacking PC routine for which the ARR was defined can use the 8-byte modifiable area of the linkage stack to provide the 64-bit address of the parameter area to be passed to the recovery routine.
    The stacking PC routine places the address and ALET into an even/odd GPR pair and then uses the MSTA instruction to move the information into the linkage stack.
  • IEAARR routines

    Use the ARRPARAMPTR parameter on the IEAARR macro to specify the 31-bit address of the parameter area you constructed, or use the ARRPARAMPTR64 parameter to specify the 64-bit address of the parameter area you constructed.

  • FRRs

    Use the PARMAD parameter on the SETFRR macro to specify a 4-byte field or GPR into which the system places the address of a 24-byte parameter area, initialized to zeros. You use this system-provided parameter area to place the parameter information to be passed to the FRR.