Nepedia
Back to Discover
Advanced Reader
💻

COBOL

technology Maturity 11-13 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

COBOL is a compiled, English-like programming language designed specifically for business use. Its name stands for Common Business-Oriented Language. It is an imperative and procedural language, meaning it gives specific commands to follow in a set order. Since 2002, it has also included object-oriented features. COBOL is essential for managing large-scale data processing, such as batch jobs and transaction processing. These tasks are vital for the administrative systems used by many governments and large companies.

IBM keypunch deck for Cobol student program at New York University 1979
IBM keypunch deck for Cobol student program at New York University 1979

Because of its reliability, it remains widely used on mainframe computers. Many financial institutions were still developing new systems in COBOL as recently as 2006.

The language is designed with a prose syntax. This means the code is written to look like regular English sentences. This approach was intended to make the code self-documenting and highly readable for humans. However, this makes the language very verbose. Verbosity means it uses many words to express simple ideas. COBOL uses over 300 reserved words, which is much more than the succinct, mathematical syntax used by other languages.

Original XEDIT
Original XEDIT

To keep things organized, the code is split into four distinct divisions. These are the identification division, the environment division, the data division, and the procedure division. Within these divisions, the code follows a rigid hierarchy of sections, paragraphs, and sentences.

Writing COBOL follows a strict structural mechanism. A programmer first identifies the program in the identification division. Then, the environment division describes the computer hardware being used. The data division is where all the information to be processed is defined. Finally, the procedure division contains the actual instructions or logic. This step-by-step structure ensures that data and instructions are kept separate. While this makes the language complex, it helps manage the massive amounts of data required in business. The standard specification for the language is quite focused, containing 43 statements, 87 functions, and just one class.

The history of COBOL began in the late 1950s due to rising programming costs. In 1959, a survey found that programming cost an average of $800,000 per installation. Moving programs to new hardware cost another $600,000 on average. To solve this, Mary K. Hawes organized a meeting at the University of Pennsylvania in April 1959. This meeting brought together experts from academia, manufacturers, and users. They asked the U.S. Department of Defense (DoD) to sponsor a common business language. The DoD was interested because they operated 225 computers and had 175 more on order. They had already spent over $200 million on programming costs.

COBOL Report Apr60
COBOL Report Apr60

A group called CODASYL, the Committee on Data Systems Languages, was formed to lead the project. They held a meeting at the Pentagon in May 1959 to discuss the new language. The goal was to create a machine-independent language that could work in banking, insurance, and utilities. The design was heavily influenced by an earlier language called FLOW-MATIC, created by Grace Hopper. FLOW-MATIC contributed long variable names and English-style commands to COBOL. Other features, such as formulas and improved IF statements, came from IBM's COMTRAN language. Although the design process was sometimes controversial and described by some as a "hodgepodge," the first version, COBOL 60, was approved in January 1960.

COBOL has undergone many stages of development and standardization over the decades. The first official version was COBOL 60. It was standardized in 1968 as ANSI INCITS X3.23-1968. Since then, the language has seen five major revisions. These include versions like COBOL-74, COBOL-85, and COBOL-2014. The most recent standard is ISO/IEC 1989:2023. These updates have allowed the language to expand, adding support for structured and object-oriented programming. This evolution has helped the language stay relevant even as computer technology changed.

Today, COBOL is at a turning point in its long history. For many years, it was assumed to be strictly a language for mainframe business operations. However, many COBOL operations are now being moved to cloud computing platforms. Some older programs are being rewritten in modern languages or replaced by entirely different software. Despite these changes, the logic built into these massive systems remains a core part of the global economy. The transition from old hardware to new platforms is a major task for many modern organizations.

711 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
COBOL Report Apr60.djvu
File:IBM keypunch deck for Cobol student program at New York University 1979.jpg
IBM keypunch deck for Cobol student...
File:Original XEDIT.png
Original XEDIT.png
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.