COBOL Lessons 1
COBOL Lessons 1
COBOL Lessons 1
INTRODUCTION
I. What is COBOL?
5. Use of indentions
if (x<y)
printf( );
else if (x>y)
printf();
else
printf();
COLUMNS DESCRIPTIONS
1–6 Page & Sequence Number Area
Indicator Area
Program Area
- this area contains the COBOL source program which is
subdivided into 2 areas because there are certain entries
that must begin in Area A (8 to 11) and others in
Area B (12 to 72 ).
Area A entries:
a. division headers
b. section headers
8 – 72
c. paragraph headers / entries
d. FD (file description)
e. level number 01 - record
Area B entries:
a. source statements
b. clauses
c. level no. 02 – 49
73 – 80 Identification Area