Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between write & move in COBOL?

Answers were Sorted based on User's Feedback



What is the difference between write & move in COBOL?..

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

What is the difference between write & move in COBOL?..

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

What is the difference between write & move in COBOL?..

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

Post New Answer

More COBOL Interview Questions

How include time & date in the report generation in cobol programing?

2 Answers  


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

0 Answers  


S9(5)V9(2) occupies how many bytes memory ?

6 Answers   Cap Gemini,


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


In EBCDIC, how would the number 1234 be stored?

2 Answers   TCS,


What is the purpose of Identification Division?

1 Answers  


how do you reference the variable block file formats from cobol programs

0 Answers  


Give some advantages of REDEFINES clause?

2 Answers   Syntel,


if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

5 Answers   TCS,


) how do u code after getting data?

0 Answers   IBM,


Categories