File status must be checked both while opening and reading
the file or only while reading the file?
Answer Posted / nagaraj ramamoorthy
As a good programming practice, it will be good if you
handle/include all possible error combination in the
program. so the file status must be checked in both cases.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how do you reference the fixed unblock file formats from cobol programs
How do you reference the fixed block file formats from cobol programs
What is comp-1 and comp-2?
Explain about different table spaces.
What are the different rules for performing sort operation?
What guidelines should be followed to write a structured cobol prgm?
What is the utilization of copybook in cobol?
What are the different rules of SORT operation?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is difference between static and dynamic call in cobol?
What is the difference between next sentence and continue in cobol programing language?
How do you reference the following file formats from cobol programs?
What is perform what is varying?