COBOL Coding Sheet Rules
Element
Type
Division
Reference Area
Remarks
rn"ision -name
ALL
Area A
Name must be followed by a
period; remainder of the line
must be blank.
Section-name
ENVIRONMENT
Area A
Name must be followed by a
Name
DATA
space, the word SECTION,
PROCEDURE
priority if specified, and a
period; remainder of the line
must be blank, or contain a USE
sentence.
I
I
Paragraph-
I
IDENTIFICATION
I
Area A
Name must be followed by a
I
I
name
I
ENVIRONMENT
period and at least one space.
PROCEDURE
Text may follow on same line or
at column 12 on next line.
File Description
DATA
Area A
DescriptIons begin with level
Sort Description
indicator, FD, SD, or RD,
Report Description
two or more spaces separate
it
Data
from data name. Clauses are
Description
separated by one or more
Entry
spaces.
Record Description
DATA
Area A or
Same as file description entry.
Report Element
Area B
Level number 01-49, 66, 77 and
Description
88. Only 01, 77 entries may begin
in Area A.
First sentence
IDENTIFICATION
Following period
of a paragraph
ENVIRONMENT
and 1 space after
or section
PROCEDURE
paragraph or
Sentence
section name, or
on next line in
Area B.
All other
IDENTIFICATION
Following period
Sentences may be written in
sentences
ENVIRONMENT
and 1 space after
columns 12 through 72 only.
PROCEDURE
the previous
sentence.
Data description
DATA
Area B
Line breaks may occur at any
entry
convenient point, with spaces at
end of line if desired.
If
a word
Continued
Sentence
IDENTIFICATION
Area B
or literal is split between two
Elements
ENVIRONMENT
lines, a hyphen must be specified
PROCEDURE
in column 7 of the second line.
Sequence
ALL
Sequence Area
Sequence number does not affect
Number
the object program; processor
Non-Program
does check for correct sequencing.
Entry
Program Ident-
ALL
Identification Area
Identification information does
ification
not affect object program.
60229400
7-3
Need help?
Do you have a question about the 3300 and is the answer not in the manual?