Purpose

The PERFORM UNTIL statement provides iteration support, allowing a section of code to be executed multiple times.

Syntax

COBOL Metalanguage

perform-until-statement
PERFORM [ paragraph-name [{ THROUGH } paragraph-name ]]
THRU
[ WITH TEST { BEFORE } ]
AFTER
UNTIL condition
[ statement-block
END-PERFORM ]

Semantics

External Links

University of Limerick   COBOL Iteration Constructs
University of Northern Iowa   Compaq COBOL Reference Manual

Valid HTML 4.01 Transitional

Valid CSS

Site Icon Copyright © 1999-2007, jhyoung, revised DATE