In the description of LINK in Assembler Services I read

If the LINK is not successful and the caller provided an ERRET exit to
receive
control, the GPRs contain the following:
Register Contents
...
1
Bits 0-31 of the 64 bit register contain the abend reason code for the abend
code for the ABEND that would have been issued if the caller had not
provided an ERRET exit.
Bits 32-63 of the 64 bit register contain the abend code for the ABEND that
would have been issued if the caller had not provided an ERRET exit.

Does that mean that for standard "old-fashioned" AMODE 31 72-byte savearea
linkage I am obligated to save the high word of R1 before issuing LINK in a
called program? If so, this would seem to be a compatibility issue for older
code that uses LINK. Or is R1 fair game as a work register in a called
program?

Charles 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to