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.
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!