Register contents

The register contents on entry to a retry routine vary according to the following:
The parameters on SETRP that affect register contents on entry to the retry routine from an ESTAE-type recovery routine are the following:

The following tables describe the register contents under various circumstances on entry to a retry routine from an ESTAE-type recovery routine:

Table 1. Register Contents—Retry from an ESTAE-Type Recovery Routine Without an SDWA
Register Contents
General Purpose Registers  
GPR 0 12 (X'0C').
GPR 1 If you specified the PARAM parameter on ESTAE, ESTAEX, or ATTACHX, the address of the user-supplied parameter area. Note that when ESTAEX was issued in AMODE 64, GPR 1 contains a 64-bit value.

If you issued ESTAE, ESTAEX, or ATTACHX without the PARAM parameter, zero.

For IEAARR issued in AMODE 31, the 31-bit address of the parameter area specified on the ARRPARAMPTR parameter of IEAARR.

For IEAARR issued in AMODE 64, the 64-bit address of the parameter area specified on the ARRPARAMPTR64 parameter of IEAARR.

GPR 2 Address of the purged I/O restore list if I/O was quiesced and is restorable; otherwise, zero.
GPRs 3 - 14 Do not contain any information for use by the routine.
GPR 15 Entry point address of the retry routine, except for when ESTAEX was issued in AMODE 64, in which case the low order bit is set on.
Access Registers  
AR 0 Zero.
AR 1 One of the following:
  • If you issued the ESTAEX macro in AR ASC mode and not AMODE 64, an ALET that qualifies the address in GPR 1.
  • Otherwise, this register does not contain any information for use by the routine.
ARs 2 - 13 Do not contain any information for use by the routine.
ARs 14 - 15 Zero.
Table 2. Register Contents—Retry from an ESTAE-Type Recovery Routine With an SDWA, RETREGS=NO, and FRESDWA=NO
Register Contents
General Purpose Registers  
GPR 0 Zero.
GPR 1 Address of the SDWA.
GPRs 2 - 14 Do not contain any information for use by the routine.
GPR 15 Entry point address of the retry routine, except for when ESTAEX was issued in AMODE 64, in which case the low order bit is set on.
Access Registers  
ARs 0 - 1 Zero.
ARs 2 - 13 Do not contain any information for use by the routine.
ARs 14 - 15 Zero.
Table 3. Register Contents—Retry from an ESTAE-Type Recovery Routine With an SDWA, RETREGS=NO, and FRESDWA=YES
Register Contents
General Purpose Registers  
GPR 0 20 (X'14').
GPR 1 If you specified the PARAM parameter on ESTAE, ESTAEX, or ATTACHX, the address of the user-supplied parameter area. Note that when ESTAEX was issued in AMODE 64, GPR 1 contains a 64-bit value.

If you issued ESTAE, ESTAEX, or ATTACHX without the PARAM parameter, zero.

For IEAARR issued in AMODE 31, the 31-bit address of the parameter area specified on the ARRPARAMPTR parameter of IEAARR.

For IEAARR issued in AMODE 64, the 64-bit address of the parameter area specified on the ARRPARAMPTR64 parameter of IEAARR.

GPR 2 Address of the purged I/O restore list, if I/O was quiesced and is restorable; otherwise, zero.
GPRs 3 - 14 Do not contain any information for use by the routine.
GPR 15 Entry point address of the retry routine, except for when ESTAEX was issued in AMODE 64, in which case the low order bit is set on.
Access Registers  
AR 0 Zero.
AR 1 One of the following:
  • If you issued the ESTAEX macro in AR ASC mode and not AMODE 64, an ALET that qualifies the address in GPR 1.
  • Otherwise, this register does not contain any information for use by the routine.
ARs 2 - 13 Do not contain any information for use by the routine.
ARs 14 - 15 Zero.
Table 4. Register Contents—Retry from an ESTAE-Type Recovery Routine With an SDWA and RETREGS=YES
Register Contents
General Purpose Registers  
GPRs 0 - 15 Restored from SDWASRSV, regardless of whether the recovery routine specified FRESDWA=NO or FRESDWA=YES.

Note that register 15 does not contain the entry point address of the retry routine unless the recovery routine sets it up that way.

Access Registers  
ARs 0 - 15 Restored from SDWAARSV, regardless of whether the recovery routine specified FRESDWA=NO or FRESDWA=YES.
Table 5. Register Contents—Retry from an ESTAE-Type Recovery Routine With an SDWA and RETREGS=64 in z/Architecture mode
Register Contents
General Purpose Registers  
GPRs 0 - 15 Restored from SDWAG64, regardless of whether the recovery routine specified FRESDWA=NO or FRESDWA=YES.

Note that register 15 does not contain the entry point address of the retry routine unless the recovery routine sets it up that way.

Access Registers  
ARs 0 - 15 Restored from SDWAARSV, regardless of whether the recovery routine specified FRESDWA=NO or FRESDWA=YES.