VMS Help
COBOL, PROCEDURE_DIVISION, PERFORM, 3format UNTIL
*Conan The Librarian
|
The PERFORM statement executes one or more procedures. It returns
control to the end of the PERFORM statement when procedure execution
ends.
Format 3 -
PERFORM [first-proc [ { THRU } end-proc ]] [ WITH TEST { BEFORE } ]
[ [ { THROUGH } ]] [ { AFTER } ]
UNTIL cond
[ stment END-PERFORM ]
is a procedure-name that identifies a paragraph or section in the
Procedure Division. The set of statements in first-proc are the
first (or only) set of statements in the PERFORM range.
is a procedure-name that identifies a paragraph or section in the
Procedure Division. The set of statements in end-proc are the last
set of statements in the PERFORM range.
is an imperative statement.
can be any conditional expression.