Types of Division in COBOL
Division in COBOL
There are two leading divisions of any COBOL program.
i. IDENTIFICATION DIVISION
ii. ENVIRONMENT DIVISION
IDENTIFICATION DIVISION
The IDENTIFICATION DIVISION is the first division of every COBOL source program. The paragraph PROGRAM-ID is essential in most machines. The other paragraphs are optional.
ENVIRONMENT DIVISION
The ENVIRONMENT DIVISION is the second division in a COBOL source program. It is the most machine-dependent division. The computer and all peripheral devices are required by the program.