Friday 8 January 2016

Cobol Programming

What is COBOL Programming? - History & Examples

Instructor: Alisa Perry Alisa has taught college Computer Technology and has a master's degree in Computer Science.
The programming language COBOL has been around since the 1950's, though by the changing standards of technology it was considered to be old news by the 1980's. Still, the programming language continues to be used today and shows no signs of fading away anytime soon. This lesson will take a brief look at the history, resiliency and continued revelance of COBOL.

COBOL Language Defined

COBOL is a programming language that reads like regular English and is often used for business and administrative purposes. The name means Common Business Oriented Language . COBOL is referred to as a legacy language, which means it is in a format that is no longer used or supported by new systems. But, COBOL is critical to the success of many companies and so has stuck around even as technology has moved forward.

History of COBOL

COBOL has been around since 1959, when it was developed by the Conference on Data Systems Languages (CODASYL). It was one of the first high-level programming languages created. COBOL is run on the mainframe as well as on the PC.
It was during the 1980's that some small businesses moved some of their mainframe COBOL programs to PC. But, this was no simple task. In the 1990's, COBOL was widely considered a thing of the past. It was obsolete, mainly because technology was becoming more object-oriented and moving away from the mainframe. However, COBOL wasn't left behind completely. It was still used by banks and other major corporations who depend heavily on accuracy and the stability of their programs to keep their companies running. COBOL worked as many of them wanted it to for the most part. When hit with the idea of migration to new languages, they found that many of their COBOL programs were quite large and difficult to migrate. So, as many corporations prepared for year 2000, they upgraded their COBOL programs to run well beyond 2000 versus changing over to a new languages.

Programming in COBOL

To begin writing a COBOL program, you need a compiler and a location to write the program. You can write COBOL programs in text editors like Notepad or Notepad++. Once it is written, the program must be compiled to check for errors and converted into a language that the computer can read.

Divisions of COBOL

The first thing to understand is that COBOL is divided into four divisions. The divisions are created in the program in this order:
  1. Identification Division
  2. Environment Division
  3. Data Division
  4. Procedure Division
Stay tuned on www.olalekanakeem.blogspot.com to be continued soon. for the benefit of nd2 computer science students, Federal Polytechnic Ede Osun State Nigeria

 

No comments:

Post a Comment