[go: up one dir, main page]

0% found this document useful (0 votes)
8 views2 pages

COBOL

Uploaded by

Abir Hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

COBOL

Uploaded by

Abir Hasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

COBOL (Common Business-Oriented Language) is a high-level programming language

designed for business, finance, and administrative systems. It was created in 1959 by a
committee of computer scientists led by Grace Hopper and remains widely used in legacy
systems in industries like banking, insurance, and government.

Key Features of COBOL:

1. Business Focus:
o Tailored for processing large amounts of data, particularly in
enterprise and financial contexts.
o Handles tasks like payroll, transaction processing, and
accounting.

2. English-Like Syntax:
o Highly readable, resembling natural language, which makes it
easier for non-technical stakeholders to understand.
o Example:

cobol
Copy code
MOVE 100 TO TOTAL.

3. Legacy Longevity:
o Many older systems still rely on COBOL, particularly in critical
industries.

4. Portability:
o Runs on various platforms, from mainframes to modern systems.

5. Batch and Transaction Processing:


o Excels in processing batch jobs and handling large-scale
transaction systems.

Structure of a COBOL Program:

A COBOL program is divided into four main divisions:

1. IDENTIFICATION DIVISION: Program metadata, such as the program


name.
2. ENVIRONMENT DIVISION: Specifies the hardware and software
environment.
3. DATA DIVISION: Defines variables and data structures.
4. PROCEDURE DIVISION: Contains the program's logic.

You might also like