Ch 9_1. Beyond the basic PERFORM (I)
PERFORM paragraph-name
PERFORM para-100
...
...
PARA-100.
...
...
PARA-200.
...
PERFORM paragraph-name-1 THRU paragraph-name-2
PERFORM para-100 THRU para-200
...
...
PARA-100.
...
...
PARA-200.
...
...
PARA-300.
...
...
PERFORM paragraph-name UNTIL condition
Example:
PERFORM para-100 UNTIL A > 100
...
...
PARA-100.
...
...
PARA-200.
...
...
First test if the stopping condition is met.
- If no, perform para-100.
- If yes, the next sentence after PERFORM is executed.
It is possible para-100 will never be excuted!