Division Name Contains IDENTIFICATION Program identification. ENVIRONMENT Types of computers used. DATA Buffers, constants, work areas. PROCEDURE The processing (program logic).
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.
(English acronym for COmmon Business Oriented Language), an artificial language for describing accounting, economic, and administrative tasks. The language was created in the USA in 1958–60. COBOL provides a visual and workably compact recording of problem-solving algorithms in a form independent of any specific computer. Compared to ALGOL, it has more in common with the usual language of business operations. For example, with COBOL it is possible to use expressions like “Read the guide card” and “At the end of the file, turn to completion of calculations.” Programs using COBOL usually include a large number of commands (tens and hundreds of thousands) and are complicated complexes of standardized subprograms that provide solutions to planning and economic problems.