What is the mode in which you will OPEN a file for writing?

Answer Posted / vikas pujar

If want to write new records :

1) Output - New records will be written , old will be
overwritten.

2) Extend - New records will be appended to existing ones

Where as :

1) I- O : Used to re-write the existing records, but not to
write new records

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can i see junk values in dclgen or in hostvariable of comp ?

2538


What is the Purpose of Pointer in the string?

640


Which division and paragraphs are mandatory for a COBOL program?

707


Can we redefine the field of x(200) to less than 200?

814


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

642






how to convert the recors form vsam file to db2 table tru file aid

2758


What are the different rules of SORT operation?

691


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2052


What is rmode(any) ?

680


Write a program to explain size error.

669


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8637


Why would you use find and get rather than to obtain?

679


What is the LINKAGE SECTION used in COBOL?

885


What are different data types in cobol?

685


how do you reference the rrds file formats from cobol programs

792