COBOL Divisions

What are the four divisions in COBOL

Questions by mearle

Editorial / Best Answer

venkat65318  

  • Member Since Sep-2009 | Sep 13th, 2009


In Cobol there are 4 divisions.

1. Identification division or ID division
In this no setions are there. It has 5 paragraphs.
a. Progaram-id. programname
b. Author
c. Writen-date
d. Compiled-date
e. Installer

2. Environment Division
Under this there are two sub-sections
a. Configuration-section.
     Source compter.
     Object computer.
b. Input-Output section.
     File control.
     IO control.

3. Data Division
File-section.
Working-storage section.
Linkage section.
Report section.
Screen section.

4. Procedure Division

Showing Answers 1 - 12 of 12 Answers

kapil23

  • Mar 14th, 2009
 

Cobol program can contain Four Division
1.Identification Division.
    Program-ID.[entry]
2.Environment Division.
3.Data Division.
    File Section.
    Working Storage Section.
4.Procedure Division.

  Was this answer useful?  Yes

COBOL consists of 4 divisions

All the divisions should begin from 7 column
Identification division.
Environment division.
Data division.
Procedure division.
The order should be same as above
Every division is further divided into sections
Every section is further divided into paragraphs.

  Was this answer useful?  Yes

kylashrao

  • Jun 4th, 2009
 

COBOL consists of 4 divisions

All the divisions should begin from 8 column in Area A
Identification division.
Environment division.
Data division.
Procedure division.
The order should be same as above
Every division is further divided into sections
Every section is further divided into paragraphs
Every paragraph is further divided in to sentences

venkat65318

  • Sep 13th, 2009
 

In Cobol there are 4 divisions.

1. Identification division or ID division
In this no setions are there. It has 5 paragraphs.
a. Progaram-id. programname
b. Author
c. Writen-date
d. Compiled-date
e. Installer

2. Environment Division
Under this there are two sub-sections
a. Configuration-section.
     Source compter.
     Object computer.
b. Input-Output section.
     File control.
     IO control.

3. Data Division
File-section.
Working-storage section.
Linkage section.
Report section.
Screen section.

4. Procedure Division

jenev_11

  • Jan 5th, 2010
 

The 4 Divisions are,

Identification Division.
Program-Id.
Author.
Date Compiled.
Security.

Environment Division.
Configuration Section.
Source Computer.
Object Computer.
IO Section.
IO control.
File Control.

Data Division.
File Section.
Working-storage Section.
Linkage Section.
Report Section.
Screen Section.

Procedure Division.

Nithya

  • May 10th, 2012
 

IDENTIFICATION DIVISION */ mandatory
*/should contain PROGRAM-ID
ENVIRONMENT DIVISION */Not mandatory(alliases assigned to external devices
files/command sequences)
DATA DIVISION */ Contains the description of the data-items that need
*/to be processed
PROCEDURE DIVISION */Mandatory Contains the algorithms to manipulate
the data

  Was this answer useful?  Yes

saurabh bandyopadhyay

  • May 25th, 2012
 

There is another section in Data division; named as LOCAL-STORAGE SECTION.
For a recursive cobol program, you need to use that section to hold the current values of each variable while the program run.
Regards,
Saurabh Bandyopadhyay.
Mainframe Developer, India.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions