3.1
SECTIONS
60229400
DATA DIVISION
The Data Division, required in every COBOL program, contains a full
description of the data to be processed by the object program. The data
falls into four categories:
Data stored on external files
Data common to more than one subprogram
Constants and data developed during program operation
Output reports
3
The Data Division is divided into four sections corresponding to the categories
of data:
DATA DIVISION.
[FILE SECTION.]
[COMMON-STORAGE SECTION.]
[WORKING-STORAGE SECTION.]
[REPORT SECTION.]
The Data Division must begin with the header: DATA DIVISION followed by a
period and a space. Each of the sections is optional; when present, they
must be in the order of appearance shown in the format above.
Each section
header is followed by one or more sets of entries; the File Section and Report
Section contain file descriptions followed by associated record description
entries, the Working-Storage and Common -Storage headers are followed
by data description entries for independent items, followed by record
descriptions.
3-1
Need help?
Do you have a question about the 3300 and is the answer not in the manual?