Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
PSECT reference—R HLASM Language Reference SC26-4940-06 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The R-type constant reserves storage for the address of the PSECT of symbol1 as specified in the associated XATTR statement (XATTR instruction (z/OS and CMS)). It is the caller's responsibility to establish the definition of the R-type address constant referencing the called routine's PSECT, and to pass that address to the called routine. This constant is only available if the GOFF option is specified. Note: If a program is to be reentrant, R-type address constants
must not appear in shared (read-only) text. They should be in the
caller's PSECT, and be provided to the called routine using an appropriate
convention. That is, R-type address constants referring to PSECTs
should themselves reside in PSECTs. If not, there can be only a single
instantiation of the PSECT work area, and the program cannot be reentrant.
|
Copyright IBM Corporation 1990, 2014
|