O'Reilly logo

Sams Teach Yourself COBOL in 24 Hours by Thane Hubbell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 5Procedure Division

In Hour 4, “Basic User Interface,” you learned about the different types of data declared within a COBOL program. In this hour, you learn how to use that data in your programs. The main thrust of any programming language is the manipulation of the input data. This lesson covers the mathematical and basic data manipulation statements used in COBOL, such as

• The Procedure Division, where the statements are coded

• Arithmetic statements such as Add, Subtract, Multiply, Divide, and Compute

• Simple data manipulation using the Move statement

Procedure Division Organization

The Procedure Division is where everything happens. The Procedure Division contains all of your procedural code. It is like the mixing instructions in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required