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 |
is this below syntax correct? CALL 'subprg' using A,B Please help
How many maximum number of procedures can we write in one COBOL program?
when iam reading a flat file which has 100 records through cobol program when iam reading 50th records it gets abends .. so when i run the program again it should read from 50th record .where it got abened ? how it is possible
I got user abend U4038 while compiling my runjcl.. can anyone help me?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the meaning of 'TALLING' verb in cobol?
what happens when a copybook variables are declared using include statement ?
What is amode(24)?
I want ALL jcl ERROR cods
What are the steps you go through while creating a COBOL program executable?
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.