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
Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

INDEXED SEQUENTIAL FILES: In the indexed sequential files which are also known as indexed files, the records are stored in the sequence order generally in ascending order. In

DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

How do i write a simple cobol programming that works

ON SIZE ERROR OPTION: Whenever a size error occurs, the contents of the result field after the operation is unpredictable.  Though, the processing is not-terminated and the co

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

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

WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu