Programming in COBOL. Library of Computer Education by G. T. Lancaster

Posted by

By G. T. Lancaster

Programming in COBOL is a straightforward but concise how-to ebook that teaches the programming language in a quick but powerful step by step demeanour, that are simply understood by way of a person with enough wisdom in details know-how.
Covering first some great benefits of COBOL over different programming languages, the e-book discusses COBOL's divisions - id, setting, approach, and knowledge, after which describes the trying out of the COBOL resource courses and software questions. The ebook is effective if you desire to research uncomplicated COBOL language, yet do not need the time to take brands' or technical collage classes. meant readers comprise skilled machine programmers conversant in different programming languages yet no longer with COBOL, in addition to scholars taking a direction in machine technological know-how. The publication can also be invaluable because it comprises self-assessment questions for readers to make sure they understood the rules coated.

Show description

Read or Download Programming in COBOL. Library of Computer Education PDF

Best computer science books

Computer Science Illuminated

Designed to offer a breadth first insurance of the sphere of machine technological know-how.

Introduction to Data Compression (4th Edition) (The Morgan Kaufmann Series in Multimedia Information and Systems)

Every one version of creation to info Compression has generally been thought of the easiest advent and reference textual content at the paintings and technology of information compression, and the fourth variation keeps during this culture. facts compression ideas and expertise are ever-evolving with new functions in picture, speech, textual content, audio, and video.

Computers as Components: Principles of Embedded Computing System Design (3rd Edition) (The Morgan Kaufmann Series in Computer Architecture and Design)

Desktops as elements: rules of Embedded Computing method layout, 3e, offers crucial wisdom on embedded platforms know-how and strategies. up to date for today's embedded structures layout equipment, this version positive factors new examples together with electronic sign processing, multimedia, and cyber-physical platforms.

Computation and Storage in the Cloud: Understanding the Trade-Offs

Computation and garage within the Cloud is the 1st complete and systematic paintings investigating the problem of computation and garage trade-off within the cloud so one can decrease the final program expense. clinical functions tend to be computation and knowledge extensive, the place advanced computation projects take many years for execution and the generated datasets are frequently terabytes or petabytes in dimension.

Extra resources for Programming in COBOL. Library of Computer Education

Sample text

The programmer has to work it out for himself. This is not difficult, but it is a pity he has to do so. One method of doing this is as follows. D I V I D E TOTAL-1 I N T O S T O C K G I V I N G R E S U L T . M U L T I P L Y R E S U L T BY TOTAL-1 G I V I N G X. SUBTRACT X F R O M STOCK GIVING REMAINDER. The location R E M A I N D E R will now contain the remainder of the first statement. 00 T O T A L (two decimal places) 33 PROGRAMMING IN COBOL 1. Add locations R A T E - 1 , RATE-2, and P R I C E , placing the result in location A M O U N T , showing the contents before and after.

J These tests, of course, may only be applied to numeric data and therefore the data-names must be described as such in the data division. Examples 1. 2. I F N U M B E R - I N IS N E G A T I V E . . I F SUB-TOTAL IS N O T Z E R O . . Class Condition Frequently during validation routines the programmer may wish to test if certain fields contain either only alphabetic characters or only numeric characters. This type of test in COBOL can be done by using class conditional statements. Format ΓNUMERIC I F data-name-1 IS [NOT] 1 1 ALPHABETIC J ...

It is obvious, then, that when calculations are being performed, that the programmer takes the greatest care in defining the final locations to ensure that he obtains the result he desires. We shall see with the other verbs that the programmer should be meticulous in defining data, especially when this data is being transferred from location to location. The receiving location must be correctly defined, in accordance with the wishes of the programmer. On Size Error There is another clause, the O N SIZE E R R O R clause, which is similar to the R O U N D E D clause.

Download PDF sample

Rated 4.37 of 5 – based on 46 votes