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
how can i see junk values in dclgen or in hostvariable of comp ?
What is the Purpose of Pointer in the string?
Which division and paragraphs are mandatory for a COBOL program?
Can we redefine the field of x(200) to less than 200?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how to convert the recors form vsam file to db2 table tru file aid
What are the different rules of SORT operation?
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.
What is rmode(any) ?
Write a program to explain size error.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Why would you use find and get rather than to obtain?
What is the LINKAGE SECTION used in COBOL?
What are different data types in cobol?
how do you reference the rrds file formats from cobol programs