Entries
An entry is one or a series of language elements terminated by a period and a space. The precise
sequence of elements in each entry is dictated by the format rules contained in this manual.
Sample Division showing structural units
division
sections
PROGRAM CONTENTS
entries
c
C
L
C
c
c
c
c
[
[
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER.
3500.
OBJECT-COMPUTER.
3500.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT OLD-MASTER-FILE
ASSIGN TO TAPE
Ol.
SELECT NEW-MASTER-FILE
ASSIGN TO TAPE 02.
A COBOL source program must be identified, it must specify linkage between the computer system
and the data files to be processed, it must define the data to be processed, and finally
it
must specify
how the data is to be processed. A COBOL source program consists of the information required to
perform these functions organized into the four required divisions.
Identification Division contains the information that identifies the program. At the very least, this
division states the program name. In addition,
it
may contain the date the program was written, the
date compiled, the author, the installation, and any remarks that might be useful to someone
reading the program.
xii
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?