cobol
10 ResultsDictionary
COBOL
(COmmon Business Oriented Language) A high-level programming language that has been the primary business application language for mainframes as well as for the variety of minicomputers that...
Dictionary
Definition: COBOL
(COmmon Business Oriented Language) A high-level programming language that has been the primary business application language for mainframes as well as for the variety of minicomputers that flourished throughout the 1970s and 1980s. It is a compiled language and one of the first high-level languages ever developed. Officially adopted in 1960, COBOL stemmed from FLOWMATIC, a language developed in the mid-1950s by Grace Murray Hopper (later Rear Admiral Hopper) for the UNIVAC I.
COBOL is very wordy. Although mathematical expressions can also be written like other programming languages (see example below), its verbose mode is very readable for a novice. For example, multiply hourly-rate by hours-worked giving gross-pay is self-explanatory. COBOL is structured into the following divisions:
Division Name Contains IDENTIFICATION Program identification. ENVIRONMENT Types of computers used. DATA Buffers, constants, work areas. PROCEDURE The processing (program logic).
The following COBOL example for an earlier IBM 370 mainframe converts a Fahrenheit number to Celsius. To keep the example simple, it performs the operation on the operator's terminal rather than a user terminal.
IDENTIFICATION DIVISION. program-ID. example. ENVIRONMENT DIVISION. configuration section. SOURCE-COMPUTER. IBM-370. OBJECT-COMPUTER. IBM-370. DATA DIVISION. working-storage section. 77 FAHR picture 999. 77 CENT picture 999. PROCEDURE DIVISION. display 'Enter Fahrenheit ' upon console. accept FAHR from console. compute CENT = (FAHR- 32) * 5 / 9. display 'Celsius is ' CENT upon console. goback.
IBM COBOLs
In 1994, IBM dropped support of OS/VS COBOL, which conforms to ANSI 68 and ANSI 74 standards and limits a program's address space to 16 bits. IBM's VS COBOL II (1984) and COBOL/370 (1991) conform to ANSI 85 standards and provide 31-bit addressing, which allows programs to run "above the line."
COBOL/370 is more compliant with AD/Cycle, has more string, math and date functions, including four-digit years, allows development through a PC window and provides enhanced runtime facilities.
THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2010 The Computer Language Company Inc. All rights reserved.
Sponsored White Papers, Webcasts & Resources
-
Flexible, Scalable Businesses with Linux and IBM System x
Take a look at this white paper to learn how combining Linux with IBM System x and BladeCenter can give you the reliability you need.
-
2011, my father-in-law...and COBOL
To say that programming was inefficient was an understatement. Such was IT in the late 1970s.
-
Veryant introduces isCOBOL for HP OpenVMS Systems
With its "write once, run anywhere" capabilities, isCOBOL will simplify ongoing maintenance and modernization activities for organizations with COBOL-based OpenVMS applications.
-
Request for Comments [COBOL vs. SAMP/5 thinking]
The issue in making a province wide health care system work isn't so much what it costs as what it does. Now, as it happens, SAMP/5 systems cost a few percent of what comparable HL7 systems do,...
-
The 10 biggest moments in IT history
Despite its relatively short lifespan, IT has had some huge watershed moments. TechRepublic's Jack Wallen followed the tech timeline to identify the most pivotal events. It’s unlikely that...
-
Cobol moves into Amazon's cloud
Micro Focus is extending its Enterprise Cloud Services to support Amazon's Elastic Compute Cloud.
-
-
Job alert: SAP, COBOL, PowerBuilder??
As enterprise Web 2.0 makes its way into organizations, there is a misconception held among a pocket in the industry that the new technologies will replace the old says Nexaweb's Jeremy Chone.
-
From Chapter one: Data Processing and the IBM Mainframe
COBOL reflects 1920s data processing methods - and because the IBM 360 implemented COBOL it became the foundation for an entire worldview - a culture founded entirely on a refusal to adapt to...
-
From Chapter one: Data Processing and the IBM Mainframe
The nature of data processing is to be long winded, boring, and dominated by acronyms derived from long gone technologies and business practices.
-
BIt: From Chapter one: Data Processing and the IBM Mainframe
COBOL reflects 1920s ways of thinking about data processing - and has critically influenced multiple generations of data processing thinkers since. T
-
Long live COBOL?
Search390 reports the results of a Micro Focus survey on mainframes and COBOL. According to the survey, COBOL is still the dominant language on mainframe computers and the median age of...
Additional Results
-
2011, my father-in-law...and COBOL
To say that programming was inefficient was an understatement. Such was IT in the late 1970s.
-
Veryant introduces isCOBOL for HP OpenVMS Systems
With its "write once, run anywhere" capabilities, isCOBOL will simplify ongoing maintenance and modernization activities for organizations with COBOL-based OpenVMS applications.
-
Request for Comments [COBOL vs. SAMP/5 thinking]
The issue in making a province wide health care system work isn't so much what it costs as what it does. Now, as it happens, SAMP/5 systems cost a few percent of what comparable HL7 systems do,...
-
The 10 biggest moments in IT history
Despite its relatively short lifespan, IT has had some huge watershed moments. TechRepublic's Jack Wallen followed the tech timeline to identify the most pivotal events. It’s unlikely that...
-
Cobol moves into Amazon's cloud
Micro Focus is extending its Enterprise Cloud Services to support Amazon's Elastic Compute Cloud.
-
Job alert: SAP, COBOL, PowerBuilder??
As enterprise Web 2.0 makes its way into organizations, there is a misconception held among a pocket in the industry that the new technologies will replace the old says Nexaweb's Jeremy Chone.
-
From Chapter one: Data Processing and the IBM Mainframe
COBOL reflects 1920s data processing methods - and because the IBM 360 implemented COBOL it became the foundation for an entire worldview - a culture founded entirely on a refusal to adapt to...
-
From Chapter one: Data Processing and the IBM Mainframe
The nature of data processing is to be long winded, boring, and dominated by acronyms derived from long gone technologies and business practices.
-
BIt: From Chapter one: Data Processing and the IBM Mainframe
COBOL reflects 1920s ways of thinking about data processing - and has critically influenced multiple generations of data processing thinkers since. T
-
Is OOP a branch to nowhere?
No one would consider the COBOL MOVE statement to represent object oriented programming - but on close inspection it meets the criteria and that fact both undermines the entire basis for the OO...
The best of ZDNet, delivered
ZDNet Newsletters
Get the best of ZDNet delivered straight to your inbox




