Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Image description: do-until structure

This image presents a flowchart that shows a do-until structure for a PERFORM statement that has UNTIL and TEST AFTER phrases.

The following pseudocode describes the processing flow:

Step 1: Start PERFORM statement
  Step 2: Do one iteration of PERFORM
  Step 3: Test condition
    Step 3a: If condition is true, loop to Step 2
    Step 3b: If condition is false, exit PERFORM statement
Step 4: End PERFORM statement

End of image description.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)