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

Answers were Sorted based on User's Feedback



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

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

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

Answer / suputhru

I agree with vikas,

only in 2 modes: Output and Extend.

Is This Answer Correct ?    2 Yes 0 No

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

Answer / elite group

output or i/o mode

Is This Answer Correct ?    3 Yes 3 No

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

Answer / archana

Output, i/o and extended mode.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More COBOL Interview Questions

where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


In COBOL, what is the different between index and subscript?

0 Answers   TryTechnicals Pvt Ltd,


Difference between next and continue clause

4 Answers   Kanbay,


I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.

4 Answers   FIS, Wipro,


01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2

9 Answers   HSBC,






What is an explicit scope terminator?

3 Answers  


What is CALL statement in COBOL?

4 Answers  


01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 Answers  


what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


Can JUSTIFIED be used for all the data types?

3 Answers  


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


How can you display the SPOOL information ?

2 Answers  


Categories