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

)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

0 Answers   IBM,


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,


What does the initialize statement do ?

2 Answers  


How to resolve the soc4 and soc7 errors?

5 Answers   IBM, RBS,






what is sync clause?

2 Answers   DELL,


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


i am a btech cs 2009 passout. i am opting for mainframe course. is it good to do this course? pls. anyone suggest me

4 Answers  


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

2 Answers   ADP,


How do u write test cases?

0 Answers   IBM,


What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......

3 Answers   BirlaSoft,


I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.

3 Answers   IBM,


Categories