11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

&SYSM_HSEV System Variable SymbolIn Figure 28 on page 278 the &SYSM_HSEV variable is updated immediately whenan MNOTE is issued with a higher severity.&SYSM_SEV System Variable SymbolUse &SYSM_SEV to get the highest MNOTE severity code for the macro mostrecently called directly from this level.The global-scope system variable symbol &SYSM_SEV is assigned a read-onlyvalue. The assembler assigns a value of zero when a macro is called and when amacro returns (MEND or MEXIT), the highest severity of all MNOTE assemblerinstructions executed in the called macro is used to update the variable.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_SEV is unreliable if any MNOTE is incorrectly coded suchthat a diagnostic message is generated for the MNOTE statement. The cause ofthe diagnostic message must be corrected.In Figure 28 on page 278 the &SYSM_SEV variable has a value of 0 until INNERreturns. The OUTER macro uses &SYSM_SEV to determine which statements togenerate, and in this case issues an MNOTE to pass the severity back to the opencode.Chapter 7. How to specify macro definitions 277

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

Saved successfully!

Ooh no, something went wrong!