Arithmetic verbs, COBOL Programming

ARITHMETIC VERBS:

Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to perform these computations.  All these verbs can hold either identifiers or numeric literals or both. In the case of identifiers, they should be elementary numeric fields, and the identifiers used after the GIVING option should be edited or unedited numeric fields.  Some of the arithmetic verbs in their most elementary forms are ADD Verb, SUBTRACT Verb, MULTIPLY Verb, DIVIDE Verb, and COMPUTE Verb.

 

 

Posted Date: 10/16/2012 5:15:48 AM | Location : United States







Related Discussions:- Arithmetic verbs, Assignment Help, Ask Question on Arithmetic verbs, Get Answer, Expert's Help, Arithmetic verbs Discussions

Write discussion on Arithmetic verbs
Your posts are moderated
Related Questions
Example of Nested if statement: Illustration: Consider the following sentence The nested IF sentence holds two IFs and one ELSE. The IF-ELSE couple has been marke

PROCEDURE DIVISION statements for the relative files: The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the re

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

Display control verbs in Cobol

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken