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


Conditional assembly instructions

HLASM Language Reference
SC26-4940-06

Conditional assembly instructions let you determine at conditional assembly time the content of the generated statements and the sequence in which they are generated. Here are the instructions and their functions:

Conditional Assembly Operation Done
GBLA, GBLB, GBLCLCLA, LCLB, LCLC Declaration of variable symbols (global-scope and local-scope SET symbols) and setting of default initial values
SETA, SETB, SETC Assignment of values to variable symbols (SET symbols)
SETAF, SETCF External function assignment of values to variable symbols (SET symbols)
ACTR Setting loop counter
AGO Unconditional branch
AIF Conditional branch (based on logical test)
ANOP Pass control to next sequential instruction (no operation)

Conditional assembly instructions can be used both inside macro definitions and in open code. They are described in How to write conditional assembly instructions.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014