If you specify RETREGS=YES, GPRs are restored from SDWASRSV, and ARs are restored from SDWAARSV. If you specify RETREGS=YES,RUB, you can manipulate the contents of SDWASRSV to whatever you wish the GPRs to be before they are restored. Or, you can directly manipulate the contents of both SDWASRSV and SDWAARSV. When you specify RETREGS=YES and are running in z/Architecture® mode, the upper halves of the 64–bit registers at retry will contain the upper halves of the 64–bit registers from the time of error.
If you are running in z/Architecture mode and specify RETREGS=64, the 64–bit GPRs at retry are restored from SDWAG64 and the ARs are restored from SDWAARSV.
See the description of the SETRP macro in z/OS MVS Programming: Assembler Services Reference IAR-XCT for complete details.
The following tables describe the register contents under various circumstances on entry to a retry routine from an ESTAE-type recovery routine:
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:
|
ARs 2 - 13 | Do not contain any information for use by the routine. |
ARs 14 - 15 | Zero. |
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. |
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:
|
ARs 2 - 13 | Do not contain any information for use by the routine. |
ARs 14 - 15 | Zero. |
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. |
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. |