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

What is Redefines clause?

8 Answers  


Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.

2 Answers   RBS,


What is the size of s9(19)comp3? explain

8 Answers  


What is length is cobol?

0 Answers  


What is inspect in cobol ?

0 Answers   Infosys,


how to change picture class of copy book variable inside program?

2 Answers  


where do we use dyanamic call ? and where do we use static call pls give any example pls ?

3 Answers   Patni,


In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

3 Answers  


study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid

4 Answers   TCS,


How to display string in the reverse order using occurs clause?

4 Answers  


What is XDC ?

3 Answers   Cap Gemini, IBM,


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


Categories