Cross memory mode

The PASN and SASN for the retry routine can be either those that existed at the time of the error, or those that existed at the time of the entry to the FRR that is requesting the retry. The FRR makes the choice through the RETRY parameter on the SETRP macro.

When the recovery routine specifies the RETRY=ERROR parameter on SETRP, the system sets the PASN and the SASN to the values they had at the time of the error.

Use caution in choosing to establish the environment that existed at the time of the error, because a problem with the environment might very well be the cause of the error.

You can use the RETRY=FRR parameter on SETRP (or take the default) to specify that the retry routine get control in the cross memory conditions that existed at the time the program issued the SETFRR. Table 1 shows the cross memory conditions that exist if you issue this request.

Note: Specifying MODE=PRIMARY on SETFRR causes the retry routine to lose addressability to what was the secondary address space at the time the macro was issued (the SASN is set to whatever the PASN was at the time SETFRR was issued).
Table 1. Retry to SETFRR Environment (Specifying SETRP RETRY=FRR)
ASC Mode MODE=FULLXM MODE=PRIMARY MODE=HOME
SETFRR issued in primary mode ASC mode=primary

PASN=PASN at the time SETFRR was issued

SASN=SASN at the time SETFRR was issued

ASC mode=primary

PASN=PASN at the time SETFRR was issued

SASN=PASN at the time SETFRR was issued

ASC mode=primary

PASN=HASN=SASN

SETFRR issued in secondary mode ASC mode=secondary

PASN=PASN at the time SETFRR was issued

SASN=SASN at the time SETFRR was issued

ASC mode=primary

PASN=PASN at the time SETFRR was issued

SASN=PASN at the time SETFRR was issued

ASC mode=primary

PASN=HASN=SASN

SETFRR issued in AR mode ASC mode=AR

PASN=PASN at the time SETFRR was issued

SASN=SASN at the time SETFRR was issued

ASC mode=AR

PASN=PASN at the time SETFRR was issued

SASN=PASN at the time SETFRR was issued

ASC mode=AR

PASN=HASN=SASN