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 are the control characters used in reports

1 Answers  


What are the pertinent COBOL

0 Answers   IBM,


In COBOL programming, what is PERFORM? What is VARYING?

0 Answers   CDC,


Differentiate COBOL and COBOL-II?

0 Answers  


why we are using set in searchall?

4 Answers   IBM,






what is difference between cobol and cobol/400

1 Answers   HCL,


01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases

6 Answers   Patni,


what are the diferences b/w sub-script and index?

4 Answers  


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


record length in spool?

2 Answers   Infosys,


a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  


Categories