Control Data Corporation 3300 Reference Manual page 126

Computer systems usasi cobol/ master
Table of Contents

Advertisement

4-46
fucorrect Specifications
x PERFORM a THRU m
a------------------~
d PERFORM f THRU
j
f
m
----------------r-~
a
b PERFORM c THRU f
c
----------------~
d---------------~~
f
x PERFORM a THRU d
A procedure associated with one PERFORM statement can overlap or inter-
sect the procedure associated with another PERFORM if neither procedure
includes the PERFORM statement associated with the other procedure.
Correct Specification
x PERFORM a THRU m
a
------------------~
f
m----------------~~
d PERFORM f THRU
j
Format 1:
A procedure referenced
in
the basic PERFORM statement is executed once
and then control passes to statement following the PERFORM. For example:
PERFORM SUMMARY.
Format 2:
When the TIMES option is used, the procedures are performed the number of
times specified by the value of integer-lor the initial value of identifier-I.
At the time of execution, this value must not be negative. If the value is zero,
control passes immediately to the statement following the PERFORM. Other-
wise, the procedures are executed the specified number of times and then
control passes to the statement following the PERFORM. Once execution is
begun, any change to identifier-1 has no effect on the number of times the
procedures are executed.
60229400

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3300 and is the answer not in the manual?

This manual is also suitable for:

3500

Table of Contents