Authorization

Problem or supervisor state
The retry routine from an ESTAE-type recovery routine that you can write is entered in problem state.
PSW key
If the recovery routine was defined through the ESTAE, ESTAEX, or IEAARR macro, the retry routine is entered with the same PSW key that existed when the macro was issued.

If the recovery routine was defined through 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 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. Otherwise, the PSW key of the retry routine is that of the task in error.

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

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 if the RBOPSW of the retry RB has a key greater that or equal to 8 and is in problem state, and the PKM of that RB does not have authority to keys less than 8. Otherwise, the PKM of the retry routine has authority that is equivalent to that of the task in error.