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

wht is the diff b/w if and evaluate stmts ?

2 Answers   DELL,


I have a sequential file. How do I access a record in this sequential file randomly in my program ?

8 Answers   CGI, Xansa,


Describe the difference between subscripting and indexing ?

2 Answers  


How many divisions we have in Cobol ?

4 Answers   Wipro,


can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?

3 Answers   IBM, Satyam,






88 class is used for

5 Answers   CTS, EDS,


u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?

2 Answers   IBM,


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,


What the difference is between continue and next sentence?

0 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  


how can we get current dat and time thru cobol pgm

3 Answers   DELL,


what is sync clause?

2 Answers   DELL,


Categories