Move corresponding - cobol verb, COBOL Programming

MOVE CORRESPONDING:

It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data items of the two groups are different, then for each of the data item, a separate MOVE verb must be used. Though, if the equivalent data items of both the records have identical names, then rather than of using separate MOVE statement,  just one MOVE statement with CORRESPONDING  option can be used. The illustration below describes the use of the MOVE verb with the CORRESPONDING option. 

 

 

Posted Date: 10/16/2012 6:11:33 AM | Location : United States







Related Discussions:- Move corresponding - cobol verb, Assignment Help, Ask Question on Move corresponding - cobol verb, Get Answer, Expert's Help, Move corresponding - cobol verb Discussions

Write discussion on Move corresponding - cobol verb
Your posts are moderated
Related Questions
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

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

Introduction to MOVE Verb: The aim of this section is to introduce the learner how to move data from one place to the other place in the memory. This is completed with the help

Example of Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

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

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s

OPEN statement: We know that the processing of a file should start with the execution of an OPEN statement. The file can be opened in any one of the 4 open modes - INPUT, OUTP

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external