Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

  • Exams
    • SBI Exams
      • SBI PO
      • SBI Clerk
      • SBI SO
    • IBPS Exams
      • IBPS PO
      • IBPS Clerk
      • IBPS RRB
      • IBPS SO
    • LIC Exams
      • LIC Assistant
      • LIC AAO
      • LIC ADO
    • RBI Exams
      • RBI Grade B
      • RBI Assistant
  • Notifications
    • Upcoming Bank Exam
    • Syllabus
      • IBPS Syllabus
        • IBPS PO Syllabus
        • IBPS Clerk Syllabus
        • IBPS RRB Syllabus
        • IBPS SO Syllabus
      • SBI Syllabus
        • SBI PO Syllabus
        • SBI Clerk Syllabus
      • LIC Syllabus
        • LIC Assistant Syllabus
        • LIC AAO Syllabus
        • LIC ADO Syllabus
      • RBI Syllabus
        • RBI Assistant Syllabus
  • Study Material
    • Magazine Download
    • Bank Exams Notes
  • Tests & Practice
    • Scholarship Test
    • Test Series
    • Learning Festival
  • Rankers Guide
    • Paper Analysis
Bank Exam » Bank Exam Study Materials » Computer Knowledge » COBOL
insurance_banking_exams

COBOL

Complete summary of COBOL. Features and facts of COBOL. Brief info on history, syntax, importance, advantages and disadvantages.

Table of Content
  •  

COBOL, or Common Business-Oriented Language, is a high-level computer programming language that was one of the earliest widely used languages and was the most popular language in the business industry for many years. It sprang out of the 1959 Conference on Data Systems Languages, which was a combined US government-private sector endeavour. COBOL was intended to achieve two key goals: portability (the ability to run programmes on machines from several manufacturers with minimal change) and readability (ease with which a programme can be read like ordinary English).

Brief History:

When enterprises in the western world grew in the 1950s, there was a need to automate numerous procedures for ease of operation, which led to the development of a high-level programming language for commercial data processing.

  • COBOL was created by CODASYL in 1959. (Conference on Data Systems Language).
  • COBOL-61, the following version, was published in 1961 with several changes.
  • COBOL was accepted as a standard language for commercial usage by ANSI in 1968. (COBOL-68).
  • COBOL-74 and COBOL-85 were developed when it was rewritten again in 1974 and 1985, respectively.
  • In 2002, Object-Oriented COBOL was launched, allowing COBOL programmers to use encapsulated objects as part of their usual workflow.
  • COBOL, in2014 includes features such as method overloading, dynamic capacity tables, and more.

Importance of COBOL:

  • The first widely used high-level programming language was COBOL. It’s an easy-to-understand English-like language. All of the instructions may be written in plain English.
  • COBOL is also a self-documenting programming language.
  • COBOL is capable of handling large amounts of data.
  • COBOL is backwards compatible with earlier versions.
  • COBOL offers good error messages, which makes bug resolution easier. 

File extensions:

  • COBOL Source File – When you load this file into the COBOL editor, it is syntax coloured, background parsed, and compiled using the COBOL compiler. The extensions .cbl and .cob are the defaults.
  • COBOL Copybook – when imported into the COBOL editor, this file is syntax coloured and optionally background processed. .cbl and .cpy are the default extensions.

Syntax of COBOL:

The syntax of COBOL is similar to that of English, and it is used to describe practically everything in the programm.

A condition expression, for example, can be written as:

x is GREATER THAN y

COBOL includes around 300 reserved terms in order to have such an English-like syntax. Some keywords are singular, while others are plurals, such as VALUE and VALUES.

Code Format:

  • Each line of a COBOL programme contains 80 characters.
  • The compiler ignores the first six letters, which are used for card/line numbers.
  • The Indicator area is the seventh character, and it defines a continuation with a ‘–’ OR comment with a ‘* or /’.
  • AREA A: The DIVISION, SECTION, and process headings are included in the following four characters (8-11).
  • Columns 12-72 in AREA B include any code that is not permitted in AREA A.
  • The programme name area (columns 73-80) is used to identify the programme.

Variable Declaration:

  • In COBOL, a variable is a designated memory region that a programme may use to store data and retrieve data from.
  • In DATA DIVISION, each variable must be stated.
  • It can be up to 30 characters long.
  • The initial character must be a letter, and it can be alpha-numeric.

Applications of COBOL:

  • COBOL is a programming language that is commonly used in space applications.
  • COBOL is a programming language that is used in company and government commercial and administrative systems. COBOL is a programming language that is used in mainframe applications.
  • COBOL is mostly utilized in batch and online transaction processing (OLTP) activities on a big scale.
  • There are larger programmes in Batch that deal with a huge number of records. This is the read-modify-write loop that many COBOL programmes employ. The Transaction
  • Processing monitors inside which the programmes are written and run execute them in parallel in OLTP.

Advantages:

  • COBOL is a self-documenting language.
  • It is written in an ENGLISH-like style, making it simple to grasp and read.
  • It can readily manage large amounts of data.
  • It’s commonly used in commercial applications and administrations, and it’s simple to keep up with.

Disadvantages:

  • A strong understanding of machine languages is required to become a COBOL programmer.
  • Because the language is similar to English, it necessitates a lot of typing, which makes the code thick.
  • A COBOL programme takes longer to compile than other machine programming languages.
  • It adheres to a rigid coding format.

The quantity of experienced COBOL programmers has decreased.

Conclusion:

Common Business Oriented Language (COBOL) is a shorthand for Common Business Oriented Language. It’s procedural, imperative, and object-oriented. A compiler is computer software that converts other computer programmes written in a high-level (source) language into machine code, which the computer can comprehend. COBOL is a programming language that reads data from a file or database, processes it, and then outputs it. In a nutshell, COBOL accepts input, computes it, and then outputs it.

faq

Frequently asked questions

Get answers to the most common queries related to the Bank Examination Preparation.

What is the distinction between executing an SECTION and executing a PARAGRAPH?

Ans: SECTION will include all of the section’s paragraphs to be performed. Only that paragraph will be ...Read full

What are the various OPEN modes supported by Cobol?

Ans. Input, Output, Input–Output, and Extend.

Give an application of COBOL.

Ans.  COBOL is largely used in company and government business, financial, and administrative systems...Read full

Ans: SECTION will include all of the section’s paragraphs to be performed. Only that paragraph will be performed by PARAGRAPH.

 

Ans. Input, Output, Input–Output, and Extend.

Ans.  COBOL is largely used in company and government business, financial, and administrative systems because it’s imperative, procedural, and object-oriented since 2002.

Crack Bank Exam with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the Bank Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Bank Exam Application Process
IBPS Clerk Notifications
IBPS Clerk Result – Check Prelims Exam Result Link
IBPS PO Notifications
IBPS PO Result
IBPS PO Syllabus 2023 for Prelims and Mains Exam
SBI Clerk Notifications
SBI Clerk Result – SBI Clerk Mains Result 2023 Out
SBI PO Admit Card 2022 – Link(Soon), Steps to Download
SBI PO Notifications 2022 – Check Eligibility, Exam Date, Syllabus, Exam Pattern
SBI PO Result
SBI PO Syllabus 2023, Prelims and Mains Syllabus in Detail
See all

Related articles

Learn more topics related to Computer Knowledge
Windows Operating System

This article discusses the Windows operating system and gives a detailed view on several versions of them. In this article you will get to know about major features and also a historical background of the Windows operating system.

What Is A Wireless Connection?

These days, hardly there's anyone who doesn't use the internet connection these days in their daily life. The Internet has become an essential part of our life because everything has gone online. From food to friends or education to entertainment, everything is present on the Internet.

WAN

This article helps us in understanding the basic meaning of the Internet's biggest WAN or Wide Area Network and the principle behind it, its applications in computer networks, its advantages, and disadvantages,

VPN

Virtual Private Network(VPN) helps guard your privacy by establishing an encrypted connection. It hides your IP address, after which no one can see or trace your activity.

See all
Access more than

12,591+ courses for Bank Exams 

Get subscription

Trending Topics

  • IBPS Clerk Exam Analysis 2022
  • Bank Exam Notifications
  • IBPS-PO Eligibility Criteria
  • IBPS PO Exam Pattern
  • IBPS PO Application Process
  • SBI Clerk Exam Pattern
freeliveclasses_bankexams

Related links

  • Bank Exam Study Materials
  • SBI Clerk Result
  • IBPS PO Syllabus
  • IBPS Clerk Result
  • IBPS PO Salary
  • IBPS Clerk Syllabus
  • IBPS Calendar 2023
  • RBI Grade B Officer
  • RRB PO Exam Pattern
  • RRB Exam Syllabus
  • RRB NTPC Exam Pattern
  • General Awareness for Bank Exams
  • RRB Clerk Exam Date 2023
testseries_bankexams
Download Free English Magazine
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2025 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY