 | | The PROGRAM-ID paragraph contains the name of the program and is required in every program. The AUTHOR paragraph contains any comment the programmer wishes to make; however, it usually contains the programmer’s name. The AUTHOR paragraph is optional; in fact, this paragraph is obsolete in COBOL-85.
 | | The Environment Division provides a place for entries that have to do with the world outside the program. In particular, it lists the files the program uses.
 | | The Data Division provides the place where the program’s variables are stored. It is divided into different sections for different types of data: file data (File Section), static data (Working-Storage Section), parameters (Linkage Section), and others.
 | | The last division is the Procedure Division, which contains the procedural statements that make up the program. |
|
|
|
|
|
|
|
No comments:
Post a Comment