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
Describe the cobol database components?
What is the difference between external and global variables in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
Explain how you can characterize tables in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
A table has two indexes defined. Which one will be used by the SEARCH?
Why would you use find and get rather than to obtain?
How do you reference the following file formats from cobol programs?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is a report item?
Write some characteristics of cobol as means of business language.
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
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?