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
GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

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

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION (RANDOM MODE): We have to write a program to create an Indexed Sequential File in random mode for Student particulars. Suppose jus

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

PERFORM WITH VARYING OPTION: The format is as shown below:

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

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is