What are different file OPEN modes available in COBOL?

Answers were Sorted based on User's Feedback



What are different file OPEN modes available in COBOL?..

Answer / aji cherian

Input, output, i-o and Extend

Is This Answer Correct ?    53 Yes 4 No

What are different file OPEN modes available in COBOL?..

Answer / tarun

input ,output,i-o,extend

Is This Answer Correct ?    24 Yes 5 No

What are different file OPEN modes available in COBOL?..

Answer / arti

input,output,i-o,extend.

Is This Answer Correct ?    12 Yes 3 No

What are different file OPEN modes available in COBOL?..

Answer / gopal chand

In Sequential File Organization, File Opening Modes are
Output,I-O, input,extend.
In Indexed File Orgainsation, File Opening Modes are
Output,I-O, input

Is This Answer Correct ?    13 Yes 4 No

Post New Answer

More COBOL Interview Questions

I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?

3 Answers  


If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?

5 Answers   TCS,


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

0 Answers   DELL,


Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.

3 Answers  


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  






i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  


in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?

2 Answers   HSBC,


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


What is R-mode and A-mode?

3 Answers   TCS,


Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.

6 Answers   EDS,


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


Write a program to concert an Indexed file into Sequential file?

1 Answers   Covansys,


Categories