Professional Documents
Culture Documents
CHAMBER 3
Basic COBOL – Module 1
CHAMBER 3
Introduction to COBOL
COBOL Structure
Coding Rules
Learning Objectives
3
Introduction to COBOL
COmmon
Business
Oriented
Language
4
Introduction to COBOL
5
Introduction to COBOL - Contd
6
COBOL Structure
Program
Divisions
Section(s)
Paragraph(s)
Sentence(s)
Statement(s)
7
COBOL Structure
Division(s)
Section(s)
8
COBOL Structure
Paragraph(s)
9
COBOL Structure
IDENTIFICATION DIVISION
Identifies program to operating system
Provides documentation about program
ENVIRONMENT DIVISION
Defines file-names
Describes devices used to store them
10
COBOL Structure
DATA DIVISION
Describes input and output format of data in
files
Defines any constants and work areas
PROCEDURE DIVISION
Contains the program algorithms
11
COBOL - Coding Rules
Any instruction in COBOL Program is 1 to 80 characters (columns)
long. This area is divided as follows…
12
Name Rules
Section name/Paragraph Name
User defined words
No embedded blanks
13
Winding up
COBOL
As language
Usage
Structure
Division
Section
Paragraph
Statement
Sentence
Coding rules
14
CHAMBER 3
Thank You