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


Simple DO

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

You may bracket a group of statements with a simple DO and ENDDO combination. No executable statements are generated, only the labels that allow the use of ITERATE and ASMLEAVE macros.

A simple DO is coded by either using the ONCE parameter:
        DO  ONCE
          Code for DO group
        ENDDO
or by omitting all parameters:
        DO   ,
          Code for DO group
        ENDDO
This will generate the same code:
        DO   ,
+#@LB1    DC    0H
          Code for DO group
        ENDDO

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014