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.

SET symbol specificationsSET symbols can be used in model statements, from which assembler languagestatements are generated, and in conditional assembly instructions. The three typesof SET symbols are: SETA, SETB, and SETC. A SET symbol must be a validvariable symbol.The rules for creating a SET symbol are:v The first character must be an ampersand (&)v The second character must be an alphabetic characterv The remaining characters must be 0 to 61 alphanumericv The first four characters should not be &SYS, which are used for system variablesymbolsExamples:&ARITHMETICVALUE439&BOOLEAN&C&EASY_TO_READLocal SET symbols need not be declared by explicit declarations. The assemblerconsiders any undeclared variable symbol found in the name field of a SETxinstruction as a local SET symbol, and implicitly declares it to have the typespecified by the SETx instruction. The instruction that declares a SET symboldetermines its scope and type.The features of SET symbols and other types of variable symbols are compared inTable 50.Table 50. Features of SET symbols and other types of variable symbolsFeaturesSETA, SETB,SETC symbolsSymbolicParametersSystem VariableSymbolsCan be used in:Open codeYesNo&SYSASM&SYSDATC&SYSDATE&SYSJOB&SYSM_HSEV&SYSM_SEV&SYSOPT_DBCS&SYSOPT_OPTABLE&SYSOPT_RENT&SYSOPT_XOBJECT&SYSPARM&SYSSTEP&SYSSTMT&SYSTEM_ID&SYSTIME&SYSVERSET symbolsMacrodefinitionsYesYesAllChapter 9. How to write conditional assembly instructions 317

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

Saved successfully!

Ooh no, something went wrong!