word looked up : home / archive

 COBOL : CoBoL 

COBOL is a programming language. Its name is an acronym for COmmon Business Oriented Language.

COBOL was initially created in 1959 by The Short Range Committee, one of three committees proposed at a meeting held at the The Pentagon in May 1959, organized by Charles Phillips[?] of the United States Department of Defense. The Short Range Committee was formed to recommend a short range approach to a common business language. It was made up of members representing six computer manufacturers and three government agencies. In particular, the six computer manufacturers were Burroughs Corporation, IBM, Minneapolis-Honeywell[?], RCA, Sperry Rand, and Sylvania Electric Products[?]. The three government agencies were the US Air Force, the David Taylor Model Basin[?], and the National Bureau of Standards. This committee was chaired by a member of the NBS. An Intermediate-Range Committee and a Long-Range Committee were proposed at the Pentagon meeting as well. However although the Intermediate Range Committeee was formed, it was never operational; and the Long-Range Committee was never even formed. In the end a sub-committee of the Short Range Committee developed the specifications of the COBOL language. This sub-committee was made up of six individuals:

This subcommittee completed the specifications for COBOL as the year of 1959 came to an end. The specifications were to a great extent inspired by the FLOW-MATIC language invented by Grace Hopper, and the IBM COMTRAN[?] language.

The specifications were approved by the full Short Range Committee. From there, they were approved by the Executive Committee in January 1960, and sent to the government printing office, which edited and printed these specifications as Cobol 60[?]. COBOL was developed within a six month period, and yet is still in use over 40 years later.

COBOL as defined in the original specification, possessed excellent self-documenting capabilities, good file handling methods, and exceptionally good data typing for the time, owing to its use of the PICTURE clause for detailed field specification. However by modern standards for programming language definition, it had serious flaws, notably verbose syntax and lack of support for local variables, recursion, dynamic memory allocation, and structured programming. Its lack of support for object-oriented programming is understandable, given that the concept was unknown at the time

COBOL has many reserved words, and it is hard to avoid unintentionally using one, without using some convention such as adding an unlikely prefix to all variable names. The original COBOL specification even supported self-modifying code via the famous "ALTER X TO PROCEED TO Y" statement. Consequently, little new code is being written in COBOL. However, the COBOL specification has been redefined over the years to address some of these criticisms. and later definitions of COBOL have remedied many of these lacks, adding improved control structures, object-orientation and removing the ability to use self-modifying code.

Many COBOL programs are still in use in major commercial enterprises, notably financial institutions. Some people think that the use of serial decimal arithmetic in its design happened to make programs designed without provision for the advent of the 2000s particularly vulnerable to failure with the year 2000 problem; however, it is difficult to see why they should have formed this opinion. It should be pointed out that COBOL's serial decimal arithmetic avoided many other problems that can occur with the naive use of floating point for financial calculations. Hence, many elderly COBOL programmers enjoyed several years of highly-paid work, often to fix the problems in systems they designed decades before.

Source: J.E. Sammet. "The Early History of Cobol." In History of Programming Languages, edited by R.L. Wexelblat. New York: ACM Monograph Series,1981.


Code Sample (Hello World)

 000100 IDENTIFICATION DIVISION.
 000200 PROGRAM-ID.     HELLOWORLD.
 000300 DATE-WRITTEN.   02/05/96        21:04.
 000400*       AUTHOR    BRIAN COLLINS
 000500 ENVIRONMENT DIVISION.
 000600 CONFIGURATION SECTION.
 000700 SOURCE-COMPUTER. RM-COBOL.
 000800 OBJECT-COMPUTER. RM-COBOL.
 000900
 001000 DATA DIVISION.
 001100 FILE SECTION.
 001200
 100000 PROCEDURE DIVISION.
 100100
 100200 MAIN-LOGIC SECTION.
 100300 BEGIN.
 100400     DISPLAY " " LINE 1 POSITION 1 ERASE EOS.
 100500     DISPLAY "HELLO, WORLD." LINE 15 POSITION 10.
 100600     STOP RUN.
 100700 MAIN-LOGIC-EXIT.
 100800     EXIT.

ADD 1 TO COBOL GIVING COBOL is the punchline of a joke about computer programming languages. If Bjarne Stroustrup can come up with the object-oriented C++ by taking C and adding C's postfix increment operator, then an object-oriented COBOL should be called "ADD 1 TO COBOL GIVING COBOL", which is that language's verbose method of incrementing a value.


For other vintage programming languages see

Here, again glancing around him, he saw increasing confidence in the effort his own emotion; "you do not recoil before this resolution, which abused the powers you have vested in me? I have carried matters very of themselves. All is arranged, as you know. Sedan will open its gates enter Paris with us. No place, however, will be given up to the of the king.html">King." "Long live.html">live the King! long live the Union! the new Union, the Holy most glorious day of my life.html">life. Oh, youth, youth, from century.html">century to century they behold conceived, ripened, and ready for execution, under a chief of enterprises? My friends, what is a great life but a thought of youth eagle glance, traces there a broad plan, lays the foundation stone; and first design. Oh, when can great projects arise, if not when the heart instrument." A fresh outburst of joy had followed these words, when an old man.html">man with a going to dote, and damp us." And truly enough, the old man, pressing the hand of Cinq-Mars, said Bassompierre is about to be delivered by you, and that you are about to expedient for youth, all ardent as it is, to listen to those who have you can not now, as then, take the title of the Holy League, the Holy see that you reckon on the support of the Huguenots; nor can you put upon king." "You may say by two," interrupted Gondi, laughing. "It is, however, of great importance," continued old Guise, amid the themselves; that of War for the Public Welfare has been made use of; approval of the theological faculty of the Sorbonne, which heretofore .

 On wordlookup.net  

All is still licensed under the GNU FDL.
It uses material from the wikipedia.



logo

navig stuff

home
archive