Tags

, , ,

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

You may also like to look at:

Important SQL CODES and ABEND CODES
SORT JOIN – TO JOIN TWO FILES BASED ON A KEY
KNOW YOUR MAINFRAME
REXX – INITIAL SETUP
HOW TO SUBMIT A BATCH JOB FROM THE CICS PROGRAM
CICS – EXEC interface block – EIBRESP Values
CICS – EXEC interface block Fields
Flow of control between COBOL programs, run units, and CICS
CICS INTERVIEW QUESTIONS
CICS TIPS
COBOL – COPY and INCLUDE statements
COBOL – PERFORMANCE IMPROVEMENT
COBOL – SIGN STORED IN COMP, COMP-3 AND DISPLAY FORMATS
SHORTEST COBOL PROGRAM
RESTART LOGIC IN COBOL DB2 Program
GOBACK – EXIT PROGRAM – STOP RUN
Continuation lines in COBOL
Computational items – COMP, COMP 1 , COMP 2, COMP 3
COBOL program format
cobol indicator area column-7 and area a and area b
COBOL INTERVIEW QUESTIONS
COBOL TIPS
COBOL COMPILER OPTIONS
The IDENTIFICATION DIVISION
Advertisements