What is the difference between write & move in COBOL?
Answers were Sorted based on User's Feedback
Answer / guest
WRITE is used for writing a record in the output file. This
WRITTEN record will not be overwritten by the next WRITE
statement for the same record name.
MOVE is used to assign some data value to a variable. This
data in the variable will be overwritten by the next MOVE
statement for the same varaible name.
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / neha bagrodia
In write statement, once the record is written to the
output file, no record is available in the record area....
whereas
In move statement even after the data gets moved to
destination variable, source variable's data remains
unaltered.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / animesh
guest your answer has one limitation. if a program is restarted and the file is opened in extebded mode then the records are re written becuase the file will clear all the records and rewrite it.
Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Perform para and perform asaection in cobol?
How to execute a set of JCL statements from a COBOL program?
s9(18) comp-3:: What is the size of memory it takes internally?
why do u need inspect verb?
Describe the difference between subscripting and indexing ?
how do you reference the fixed unblock file formats from cobol programs
How do you reference the following file formats from cobol programs?
File status must be checked both while opening and reading the file or only while reading the file?
What are the rules of the move verb?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Why we should use cursor ?
How to define a array dynamically.....