What are the various sections in Data Division?
-
Input Output
-
Working Storage
-
Linkage Sction
-
File section
In COBOL, Data Division contains sections for handling file operations and data storage. Working Storage Section holds program variables and temporary data, File Section describes files used by the program, and Linkage Section contains data passed to/from subprograms. Input Output Section does not exist as a standard section in COBOL Data Division.
COBOL's Data Division is organized into File Section (describes record layouts of files), Working-Storage Section (program variables/constants), and Linkage Section (parameters passed from a calling program). 'Input-Output' is not a Data Division section — it's the Input-Output Section, which belongs to the Environment Division (where file assignments like SELECT...ASSIGN are made), not the Data Division. So Working Storage, Linkage Section, and File Section are correctly marked, and Input Output is correctly excluded.