how to check whether the open command of a sequential file is
successful? or not?

Answers were Sorted based on User's Feedback



how to check whether the open command of a sequential file is successful? or not?..

Answer / suresh

by using file status

Is This Answer Correct ?    41 Yes 1 No

how to check whether the open command of a sequential file is successful? or not?..

Answer / mani yadav

By Using File-status.

File status code is 00.succesfully opened.

Is This Answer Correct ?    34 Yes 2 No

Post New Answer

More COBOL Interview Questions

what is the advantage of using redefines instead of delaring the variables ?

5 Answers   HCL,


What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers  


Name some of the examples of COBOl 11?

0 Answers   CSC,


What are all the divisions of a COBOL program?

0 Answers  


how you will define variables length in cobol.

3 Answers   Temenos,






i want to learn mainframes. i completed MCA ,whats the future of mainframes

5 Answers  


C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE

1 Answers   TCS,


how to transfer the file from pc to mainframe??

4 Answers  


how can we fetch 3 records in cobol pgm any coding pls ?

3 Answers   CGI,


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

0 Answers  


How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.

2 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  


Categories