Executing multiple paragraphs or sections
In structured programming, you usually
execute a single
paragraph. However, you can execute a group of paragraphs, or a single
section or group of sections, by coding the PERFORM . . .
THRU
statement.
About this task
When you use the PERFORM
. . . THRU
statement,
code a paragraph-EXIT
statement to clearly indicate
the end point of a series of paragraphs.
Related references
EXIT PERFORM or EXIT PERFORM CYCLE statement (Enterprise COBOL for z/OS® Language Reference)
EXIT PARAGRAPH or EXIT SECTION statement (Enterprise COBOL for z/OS Language Reference)
EXIT PERFORM or EXIT PERFORM CYCLE statement (Enterprise COBOL for z/OS® Language Reference)
EXIT PARAGRAPH or EXIT SECTION statement (Enterprise COBOL for z/OS Language Reference)