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 FOR CONDITION NAMES: We have to write a simple program to demonstrate Condition names usage.  identification division.   program- id.   environment division.

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:

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

PROGRAM FOR PERFORM - VARYING: We have to write a program to elaborate PERFORM ...VARYING Identification division. Program- id. PerfVary. Environment division. Dat

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

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

RULES OF MOVE VERB:  The Data movement is managed by the rules which are as shown below: (a) The contents of the identifier - 1 or the value of the literal - 1 is moved to

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

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

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi