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


Assigning values to SET symbols

HLASM Language Reference
SC26-4940-06

You can assign values to SET symbols by using the SETA, SETB, SETC, SETAF, and SETCF instructions (SETx). You can also use these instructions to implicitly define local SET symbols. Local SET symbols need not be declared explicitly with LCLA, LCLB, or LCLC statements. The assembler considers any undeclared variable symbol found in the name field of a SETx statement to be a local SET symbol. It is given the initial value specified in the operand field of SETA, SETB, and SETC instructions, and the value returned from the external function specified in the operand of SETAF and SETCF instructions. If the symbol in the name field is subscripted, it is declared as a subscripted SET symbol.

Spaces do not terminate the operand field when used in logical expressions and in built-in functions. For more information, see Logical (SETB) expressions.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014