COBOL
Definition
COBOL (Common Business-Oriented Language) is a compiled, English-like programming language designed for business data processing. Created in 1959 by Grace Hopper and the CODASYL committee, it remains critical to global financial and government infrastructure.
Key Details
- Paradigm: Imperative, procedural, record-oriented
- Standardization: ISO/IEC 1989 (COBOL 2023 is the latest standard)
- Strengths: Business data processing, decimal arithmetic, report generation, backward compatibility
- Compiler implementations: GnuCOBOL (MPL 2.0), Micro Focus (commercial), IBM Enterprise COBOL (commercial), Fujitsu (commercial)
Language Characteristics
- Human-readable syntax: Uses English-like keywords (ADD, MOVE, PERFORM, IF)
- File handling: Extensive built-in file I/O for sequential, indexed, and relative files
- Decimal arithmetic: Native support for fixed-point decimal, critical for financial calculations
- Report generation: COBOL Report Writer for formatted output
- Division structure: IDENTIFICATION, ENVIRONMENT, DATA, PROCEDURE divisions
Historical Versions
| Version | Year |
|---|---|
| COBOL 60 | 1960 |
| COBOL-68 | 1968 |
| COBOL-74 | 1974 |
| COBOL-85 | 1985 |
| COBOL 2002 | 2002 |
| COBOL 2014 | 2014 |
| COBOL 2023 | 2023 |
Use Cases
- Banking and financial systems (estimated 200-250 billion lines of COBOL in production)
- Government and tax systems
- Insurance processing
- Mainframe batch processing (IBM Z/OS)
- Legacy enterprise applications
COBOL Ecosystem
- Mainframes: IBM Z (z/OS) is the primary COBOL execution environment
- Migration: Many organizations are modernizing COBOL to Java
- Talent gap: Aging workforce of COBOL developers creates significant operational risk