What is the difference between write & move in COBOL?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro

1497


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1905


What are the different rules for performing sort operation?

751


Write a program that uses move corresponding.

664


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

691






Define cobol?

854


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.

1691


what is amode(24), amode(31), rmode(24) and rmode(any)?

686


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

696


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1943


i need a small 3d program using inline and outline.

1629


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1769


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1894


Name the sections present in data division.

691


How do you define a variable of comp-1 and comp-2?

690