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 |
When is inspect verb is used in cobol?
If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?
What are some examples of command terminators?
What is rmode(any) ?
What is perform what is varying?
how do you define single dimensional array and multidimensional array in your cobol?
comp-3 field occupy?
how do you reference the variable unblock file formats from cobol programs
BY seeing a program how can we say that it is static call or dynamic call
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
What is the difference between index and subscript?
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?