COBOL Manual for TNS/E Programs (H06.03+)
Procedure Division Verbs
HP COBOL Manual for TNS/E Programs—520347-003
9-150
PERFORM TIMES
PERFORM TIMES
PERFORM TIMES executes a procedure, a group of procedures, or an imperative
statement a specified number of times.
procedure-group
proc-1
is a paragraph-name or section-name. Without THROUGH or THRU, proc-1
identifies the only procedure that is to be executed. With THROUGH or THRU,
proc-1 identifies the first procedure of a group.
THROUGH
THRU
indicate that a group of procedures is to be executed.
proc-2
is the last procedure in the group.
count
is an integer numeric literal or the identifier of an integer data item that tells the
process how many times to execute the statements in the range of the PERFORM
statement.
imperative-statement
is defined in Imperative Statement.
procedure-group
imperative-statement
PERFORM
count TIMES
END-PERFORM
count
TIMES
VST194.vsd
proc-1
proc-2THROUGH
THRU
VST193.vsd










