IDENTIFICATION DIVISION must be the first division in each COBOL source program. There may be several paragraphs in this division of which PROGRAM-ID is essential paragraph.
Each program has a Program id - Name of the program. Author - Person who is writing the program and other information like date written, date compiled.IDENTIFICATION DIVISION. PROGRAM-ID. IDSAMPLE. AUTHOR. PROGRAMMER NAME. INSTALLATION. COBOL DEVELOPMENT CENTER. DATE-WRITTEN. 12/02/94. DATE-COMPILED. 12/09/94 12:57:53. SECURITY. NON-CONFIDENTIAL. |
AUTHOR: This optional paragraph was removed from the standard in 1985, but most COBOL compilers still support its use. Code the programmer's name following the paragraph name. There are no formatting rules for the programmer's name. For example: AUTHOR. ALBERT.
INSTALLATION: This optional paragraph was removed from the standard in 1985, but most COBOL compilers still support its use. Code the programmer's employer's name following t e paragraph name. There are no formatting rules for the programmer s employer's name.For example: INSTALLATION. TWIN CORPORATION.
DATE-WRITTEN: This optional paragraph was removed from the standard in 1985, but most COBOL compilers still support its use. Code the date the program paragraph name. There are no formatting rules for the date. For example: DATE-WRITTEN. SEP 1990.
DATE-COMPILED: This optional paragraph was removed from the standard in 1985, but many COBOL compilers still support its use. Code the paragraph name only. The system date will be inserted in this area for documentation purposes. For example: DATE-COMPILED.
SECURITY: This optional paragraph was removed from the standard in 1985, but most COBOL compilers still support its use. Code the security level of the program following the paragraph name. There are no formatting rules for the security level and this entry will have no actual effect on access to the program. The paragraph is for documentation purposes only. For example: SECURITY. NON-CONFIDENTIAL.
REMARKS: This optional paragraph was removed from the standard in 1985, but many COBOL compilers still support its use. Code the paragraph name followed by any desired comments, such as the primary purpose of the program. For example REMARKS. THIS IS THE LOGIN SCREEN MODULE.
If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!