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.

Data attributesTable 51. Data attributes (continued)Attribute Purpose Main UsesScaling <strong>Ref</strong>ers to the position of the decimalpoint in fixed-point, floating-point anddecimal constantsInteger Is a function of the length and scaleattributes of decimal, fixed-point, andfloating-point constantsCount Gives the number of charactersrequired to represent dataNumber¹ Gives the number of sublist entries in amacro instruction operand sublist, orthe maximum subscript of adimensioned SET symbol to which avalue has been assigned.Defined Shows whether the symbol referencedhas been defined prior to the attributereferenceOperation Code Shows whether a given operation codehas been defined prior to the attributereferenceNotes:v For testing and regulatingthe position of decimalpointsv For substitution into ascale modifierv To keep track of significantdigits (integers)v For scanning anddecomposing characterstringsv As indexes in substringnotationv For scanning sublistsv As a counter to test for endof sublistv For testing array limitsv To avoid defining a symbolagain if the symbolreferenced has beenpreviously definedv To avoid assembling amacro or instruction if itdoes not exist.1. The number attribute of &SYSLIST(n) and &SYSLIST(n,m) is described in “&SYSLISTSystem Variable Symbol” on page 273.Attribute reference►► attribute_notation’ ordinary_symbolvariable_symbolliteralcharacter_string►◄attribute_notation'is the attribute whose value you want, followed by a single quotation mark.Valid attribute letters are “D”, “O”, “N”, “S”, “K”, “I”, “L”, and “T”.ordinary_symbolis an ordinary symbol that represents the data that possesses the attribute. Anordinary symbol cannot be specified with the operation code attribute.variable_symbolis a variable symbol that represents the data that possesses the attribute.literalis a literal that represents the data that possesses the attribute. A literal cannotbe specified with the operation code attribute or count attribute.322 <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!