What is the role of the "DATA DIVISION" in a COBOL program?

  • Contains the procedures and logic of the program
  • Declares the data items used in the program
  • Defines the working storage section
  • Specifies the file structure and access mode for all files used in the program
The "DATA DIVISION" in COBOL is used for declaring the data items that the program will use. It defines the structure of data, such as records and fields, and their characteristics.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *