Add and subtract corresponding, COBOL Programming

ADD and SUBTRACT CORRESPONDING:

The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPONDING option.

 

405_ADD and SUBTRACT CORRESPONDING.png

In the situation of the ADD statement, the numeric elementary items in the group referred to by identifier-1 are added to and stored in the equivalent elementary items of the group named in identifier-2.  In the situation of the SUBTRACT statement, the equivalent numeric elementary items of the group referred to by identifier-1 are subtracted from and are stored in the equivalent numeric elementary items of the group referred to by identifier-2.

Posted Date: 10/16/2012 6:15:08 AM | Location : United States







Related Discussions:- Add and subtract corresponding, Assignment Help, Ask Question on Add and subtract corresponding, Get Answer, Expert's Help, Add and subtract corresponding Discussions

Write discussion on Add and subtract corresponding
Your posts are moderated
Related Questions
Rules for apply for the condition name: The rules below apply for the condition name. (i) The Condition names should be explained at level 88. The level number starts in ma

Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

RENAMES CLAUSE: At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is o

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

How do i write a simple cobol programming that works

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show the

LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

THE SIMPLE SORT VERB: The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illus