3.1 The IDENTIFICATION DIVISION

The identification division tells the computer the name of the program and supplies other documentation concerning the program's author, when it was written, when it was compiled, who it is intended for...etc. In fact, only the program name is required by the compiler.




     000100 IDENTIFICATION DIVISION.
     000110 PROGRAM-ID.    EXAMPLE-1-PROG.
     000120 AUTHOR.    ZINGMATTER.
     000130 INSTALLATION.  XYZ GROUP.
     000140 DATE-WRITTEN.  17/5/00.
     000150 DATE-COMPILED.
     000160 SECURITY.      LOCAL GROUP.


Note:

  • The use of full stops is important. Throughout these pages, note where they are positioned

  • The first words (PROGRAM-ID, AUTHOR etc..) are written in area A, the details are in area B

  • The DATE-COMPILED detail is written automatically by the compiler


1. Getting started 7. File handling
2. COBOL basics 8. Debugging COBOL
3. The Four Divisions 9. Useful links
4. Defining Data Part 1 10. Sample Code
5. Defining Data Part 2 11. Feedback
6. Commands and logic 12. Quick reference
   Awards    HOME
Copyright Timothy R P Brown 2000 - 2005: Web design in Glasgow, Scotland by 404i