For installation- or vendor-written macros, see the installation or vendor information to determine if incompatibilities between versions and releases exist.
See High Level Assembler Language Reference for information about global set symbols.
Existing programs that were assembled using Version 2, Version 3, Version 4, and Version 5 macros will run properly on z/OS®.
The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | Problem state and any PSW key. |
Dispatchable unit mode: | Task or SRB |
Cross memory mode: | Any PASN, any HASN, any SASN |
AMODE: | 24- or 31-bit |
ASC mode: | Primary or access register (AR) |
Interrupt status: | Enabled or disabled for I/O and external interrupts |
Locks: | The caller may hold locks, but is not required to hold any. |
Control parameters: | None. |
None.
None.
Before issuing the SPLEVEL macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.
When control returns to the caller, the general purpose registers (GPRs) and access registers (ARs) are all unchanged.
None.
The SPLEVEL macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede SPLEVEL. |
SPLEVEL | |
␢ | One or more blanks must follow SPLEVEL. |
TEST | |
SET=n | n: 2, 3, 4, 5 or 6 |
SET | Default: SET=6 |
The parameters are explained as follows:
None.
None.
SPLEVEL SET=1
.
.
.
GBLC &SYSSPLV Define global symbol
SPLEVEL TEST If global symbol has no value,
set to the default.
AIF ('&SYSSPLV' EQ '1').V1 Use code for V1
.V5 ANOP This logical path contains instructions appropriate
for a V2, V3, V4, or V5 expansion.
.
.
.
AGO .COMMON
.V1 ANOP This logical path contains instructions appropriate
for a V1 expansion.
.
.
.
.COMMON ANOP