Hour 11Advanced Perform Statements

Image

In Hour 10, “Processing Loops,” you learned the basic format for the Perform statement. In this hour, among other things you learn some more advanced methods of using Perform, such as

• Using inline Perform statements

• Using Perform with Varying

• Testing before and after the Perform

• Nesting Perform statements

• Compiling and linking a program for use with the interactive debug utility

Several other ways to use Perform make it a very powerful looping tool. In addition to the previously discussed methods of using Perform, you may code what is called an inline Perform. In this type of Perform, the lines of ...

Get Sams Teach Yourself COBOL in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.