11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

&SYSLOC System Variable Symbolinstruction and the preceding START, CSECT, RSECT, DSECT, or COM instruction,the value of &SYSLOC is the same as the value of &SYSECT.The assembler assigns to the system variable symbol &SYSLOC a local read-onlyvalue each time a macro definition containing it is called. The value assigned is thesymbol representing the name of the location counter in use at the point where themacro is called.&SYSLOC can only be used in macro definitions; it has local scope.Notes:1. The value of the type attribute of &SYSLOC (T'&SYSLOC) is always U.2. The value of the count attribute (K'&SYSLOC) is equal to the number ofcharacters assigned as a value to &SYSLOC.3. Throughout the use of a macro definition, the value of &SYSLOC is considereda constant.&SYSMAC System Variable SymbolBy varying the subscripts attached to the &SYSMAC you can refer to the name ofany of the macros called between open code and the current nesting level, that is,&SYSMAC(&SYSNEST) returns ’OPEN CODE’. Valid subscripts are 0 to&SYSNEST. If &SYSMAC is used with a subscript greater than &SYSNEST, a nullcharacter string is returned.&SYSMAC with no subscript is treated as &SYSMAC(0) and so provides the nameof the macro being expanded. This is not considered to be an error and so nomessage is issued.The local-scope system variable symbol &SYSMAC is assigned a read-only valueeach time a macro definition is called.Notes:1. The value of the type attribute of &SYSMAC (T'&SYSMAC(n)) is U, unless&SYSMAC(n) is assigned a null character string, in which case the value of thetype attribute is O.2. The value of the count attribute (K'&SYSMAC(n)) is equal to the number ofcharacters assigned as a value to &SYSMAC(n).&SYSM_HSEV System Variable SymbolUse &SYSM_HSEV to get the highest MNOTE severity so far for the assembly.The global-scope system variable symbol &SYSM_HSEV is assigned a read-onlyvalue. The assembler compares this value with the severity of MNOTE assemblerinstructions as they are encountered and, if lower, updates it with the higher value.Notes:1. The value of the variable symbol is supplied as three numeric characters, not asan arithmetic (binary) value.2. The value of the type attribute of &SYSM_SEV (T'&SYSM_SEV) is always N.3. The value of the count attribute (K'&SYSM_SEV) is always 3.4. The value of &SYSM_HSEV is unreliable if any MNOTE is incorrectly codedsuch that a diagnostic message is generated for the MNOTE statement. Thecause of the diagnostic message must be corrected.276 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!