Home > Software > Mainframe > Cobol
Interview Questions   Tutorials   Discussions   Programs   

Cobol - What is the difference between write & move in COBOL?




422
views
asked mar September 6, 2014 02:01 PM  

What is the difference between write & move in COBOL?


           

1 Answers



 
answered By Mswami   0  

MOVE copies data from one field within the program to another. WRITE creates an entire record that is written to an external file defined to the program.

In WRITE statement, once the record is written to the output file, no record is available in the record area where as In MOVE statement both the source and destinations has the same content.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert