Simple DO Group

If you specify neither repetitor nor conditional, the construct merely groups a number of instructions together. These are processed one time.

In the following example, the instructions are processed one time.

Example:
/* The two instructions between DO and END are both  */
/* processed if A has the value "3".                 */
If a=3 then Do
              a=a+2
              Say 'Smile!'
            End

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/simpdo.html