DO List Statement

Description

A special form of iterative DO statement is one in which none of the TO, BY, or REPEAT options are used, but in which multiple instances of the start expression are specified. In this case the DO-group is executed once for each specified start value.

Example

DO name 'Bob', 'Ann', 'Fred', 'Joan', 'Sue';
      READ FILE(F) KEY(name) INTO(REC);
      CALL SEND_REPT;
      END;