Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
AXRES — Reserve authorization index z/OS MVS Programming: Authorized Assembler Services Reference ALE-DYN SA23-1372-00 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
DescriptionThe AXRES macro reserves one or more authorization index (AX) values for the caller's use. The AX values are owned by the current home address space. The AXSET macro sets the AX of the home address space to the value (or values) that is reserved by the AXRES macro. The caller can use the value returned by the system as an AX through the AXSET macro, or as an extended authorization index (EAX) through the ETDEF, ETCRE, and ETCON macros. The AX value associated with a program determines whether that program is permitted to issue the PT instruction with another address space as the target, and/or set another address space as its secondary address space through the SSAR instruction. The EAX value determines whether a program running with the EAX can access data in another address space through a private access list entry. Related macrosATSET, AXFRE, AXEXT, and AXSET EnvironmentThese are the requirements for the caller:
Programming requirementsThe parameter list passed to the AXRES macro must be addressable in primary mode when the macro expansion is executed. RestrictionsNone. Input register informationThe AXRES macro is sensitive to the SYSSTATE macro with the OSREL=ZOSV1R6
parameter
Output register informationAfter the caller issues the macro, the macro might use some registers as work registers or might change the contents of some registers. When the macro returns control to the caller, the contents of these registers are not the same as they were before the macro was issued. Therefore, if the caller depends on these registers containing the same value before and after issuing the macro, the caller must save these registers before issuing the macro and restore them after the system returns control. When control returns to the caller, the general purpose registers
(GPRs) contain:
Performance implicationsNone. SyntaxThis is the standard form of the AXRES macro:
ParametersThe parameters are explained as follows:
ABEND codes
See z/OS MVS System Codes for an explanation and programmer responses for these codes. Return codesWhen AXRES macro returns control to your program, GPR 15 contains a return code.
ExamplesFor examples of the use of this and other cross memory macros, refer to the chapter on cross memory communication in z/OS MVS Programming: Extended Addressability Guide. |
Copyright IBM Corporation 1990, 2014
|