codegurukool.com · Free coding tutorials & online compiler

Home › COBOL Tutorial › COBOL introduction

COBOL introduction

The business language that still runs banks and governments.

COBOL (COmmon Business-Oriented Language) was created in 1959 and still processes a large share of the world's bank transactions, insurance claims and payroll. Its code reads almost like English, and it is built for exact decimal arithmetic and big batches of records. A program is organised into four divisions, and the logic goes in the PROCEDURE DIVISION.

Example code

       IDENTIFICATION DIVISION.
       PROGRAM-ID. HELLO.
       PROCEDURE DIVISION.
           DISPLAY "Hello, COBOL!".
           STOP RUN.

Run this code in the online editor

← All commandsCOBOL installation →