HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Subscripted local SET symbols

HLASM Language Reference
SC26-4940-06

A local subscripted SET symbol is declared by the LCLA, LCLB, or LCLC instruction.
Read syntax diagramSkip visual syntax diagram
>>-+-----------------+--+-LCLA-+-------------------------------->
   '-sequence_symbol-'  +-LCLB-+   
                        '-LCLC-'   

   .-,--------------------------.   
   V                            |   
>----variable_symbol(dimension)-+------------------------------><

sequence_symbol
Is a sequence symbol.
variable_symbol
Is a variable symbol, with or without the leading ampersand (&).
dimension
Is the dimension of the array. It must be an unsigned, decimal, self-defining term greater than zero.
Example:
         LCLB            &B(10)

There is no limit to SET symbol dimensioning other than storage availability. The limit specified in the explicit (LCLx) or implicit (SETx) declaration can also be exceeded by later SETx statements. The dimension shows the number of SET variables associated with the subscripted SET symbol. The assembler assigns an initial value to every variable in the array thus declared.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014