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

Answer Posted / mani yadav

By Using File-status.

File status code is 00.succesfully opened.

Is This Answer Correct ?    34 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912


What are the different rules of SORT operation?

693


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10581


What are different data types in cobol?

685


Which Search verb is equivalent to PERFORM…VARYING?

682






What is the difference between a binary search and a sequential search what are the pertinent cobol?

730


What is the difference between Global and External Variables?

661


how do you reference the ksds vsam file formats from cobol programs

662


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17028


What are various search techniques in cobol? Explain.

641


What is the difference between comp and comp-3 usage?

675


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

716


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1228


Which mode is used to operate the sequential file?

658


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

643