With the exception of the COPY statement, the statements, entries, paragraphs, and sections of a COBOL source program are grouped into four divisions: the Identification, Environment, Data, and Procedure Divisions. The end of a COBOL source program is indicated by the absence of additional source program lines.
Here is the format for a separately compiled COBOL source program:
->->--*--IDENTIFICATION DIVISION. --*---------------------------> *--ID DIVISION. --------------* ->--PROGRAM-ID. program-name.----------------------------------> ->--*-----------------------------------*----------------------> *--identification-division-content--* ->--*------------------------------------------------------*---> *--ENVIRONMENT DIVISION. environment-division-content--* ->--*----------------------------------------*-----------------> *--DATA DIVISION. data-division-content--* ->--*--------------------------------------------------*-------><- *--PROCEDURE DIVISION. procedure-division-content--*
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.