HLASM Toolkit Feature User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


IF macro option D

HLASM Toolkit Feature User's Guide
GC26-8710-10

Read syntax diagramSkip visual syntax diagram
>>-IF--CC=condition_code---------------------------------------><

Where:
condition_code
Numeric condition code mask

Option D tests the previously set condition code. It uses the numeric condition code mask to indicate the condition.

The following example:
        IF  CC=2  THEN
          Code for F1
        ELSE
          Code for F2
        ENDIF
produces:
        IF  CC=2  THEN
          BC    15-2,#@LB1
          Code for F1
        ELSE
          BC    15,#@LB3
 #@LB1    DC    0H
          Code for F2
        ENDIF
 #@LB3    DC    0H
Note: This form of the IF macro cannot be used with Boolean operators.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014