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
File Description for the Relative and Indexed Files: The FD entry for a relative or an indexed file is similar to that of a sequential file. Some compilers do not permit varia

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati

SEQUENTIAL FILES:   The purpose of the proposed section is to introduce the concepts such as File characteristics, File Description for Fixed-Length Records, File-Control


Display control verbs in Cobol

Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac

REDEFINES CLAUSE: At times it may be found that two or more storage regions defined in the DATA DIVISION are not in use concurrently. In such situations only one storage regio


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