The PERFORM UNTIL statement provides iteration support, allowing a section of code to be executed multiple times.
perform-until-statement
| PERFORM | [ | paragraph-name | [{ | THROUGH | } | paragraph-name | ]] |
|---|---|---|---|---|---|---|---|
| THRU | |||||||
| [ | WITH TEST | { | BEFORE | } | ] | ||
| AFTER | |||||||
| UNTIL condition | |||||||
| [ | statement-block | ||||||
| END-PERFORM ] | |||||||
| University of Limerick | COBOL Iteration Constructs |
| University of Northern Iowa | Compaq COBOL Reference Manual |
Copyright © 1999-2007, jhyoung,
revised DATE