Authorization

Environmental factor Requirement
Problem or supervisor state

If the recovery routine was defined by an ESTAE or ESTAEX macro, the retry routine is entered in the state that existed when the macro was issued.

If the recovery routine was defined by a FESTAE macro, the retry routine is entered in supervisor state.

For ARRs, the retry routine is entered in the state that existed when the stacking PC routine was entered.

If the recovery routine was defined by the ESTAI parameter of the ATTACHX macro, the retry routine is entered in supervisor state if, and only if, the RBOPSW of the retry RB is in supervisor state and the mainline routine was authorized at the time of the error. Otherwise, the retry routine is entered in problem state. The mainline routine is considered to be authorized at the time of the error when at least one of the following is true:
  • The program is APF-authorized.
  • The task in error has a protect key which is less than 8.
  • All RBs for the task in error run in supervisor state.
PSW key

If the recovery routine was defined by an ESTAE, ESTAEX, or ESTAEX macro, the retry routine is entered with the same PSW key that existed when the macro was issued.

If the recovery routine was defined by the ESTAI parameter of the ATTACHX macro, the retry routine is entered with the same PSW key as the one in RBOPSW of the retry RB, if the RBOPSW of the retry RB when one of the following is true (otherwise, the PSW key of the retry routine is that of the task in error):
  • The main routine was authorized (as defined earlier under “Problem or Supervisor State”) at the time of the error.
  • The RBOPSW of the retry RB has a key greater than or equal to 8 and is in problem state, and the PKM of that RB does not have authority to keys less than 8.

For ARRs, the retry routine is entered with the same PSW key that existed when the stacking PC routine was entered.

PKM

If the recovery routine was defined through the ESTAE or ESTAEX macro, the retry routine is entered with the PKM that existed when the macro was issued.

If the recovery routine was defined by the FESTAE macro, the retry routine is entered with the PKM that existed at the time of the error.

If the recovery routine was defined through the ESTAI parameter of the ATTACHX macro, the retry routine is entered with the PKM from the retry RB only if one of the following is true (otherwise, the PKM of the retry routine only has authority that is equivalent to that of the task in error):
  • The main routine was authorized (as defined earlier under “Problem or Supervisor State”) at the time of the error.
  • The RBOPSW of the retry RB has a key greater than or equal to 8 and is in problem state, and the PKM of that RB does not have authority to keys less than 8.

For ARRs, the retry routine is entered with the PKM at the time the PC routine was entered.