Home > Software > Mainframe > Cobol
Interview Questions   Tutorials   Discussions   Programs   

Cobol - How many sections are there in data division?.

asked mar August 3, 2014 01:11 AM  

How many sections are there in data division?.


1 Answers

answered By Mswami   0  
Data Division:
Data division is used to define the data that need to be accessed by the program.
It has three sections.

FILE SECTION                               describes the record structure of the files.
WORKING-STORAGE SECTION     is used to for define intermediate variables.
LINKAGE SECTION                       is used to access the external data.
                                                    Ex: Data passed from other programs or from PARM of JCL.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!