File status must be checked both while opening and reading
the file or only while reading the file?
Answer Posted / raj
At the time of reading is enough. There is only one case of
getting abend at the time of opening i.e, If that file
doesn't exists.But in general the programmer doesn't open
any file if that one is not exists so there will be no
negative effect if we insert the File status check Opening
file.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between comp and comp-3?
how do you reference the variable unblock file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between comp and comp-3 usage?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Give some examples of command terminators?
What is report-item in COBOL?
how do you reference the rrds file formats from cobol programs
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is a scope terminator give example?
i need a small 3d program using inline and outline.
Mention the guidelines to write a structured cobol program?
Write some characteristics of cobol as means of business language.
Why did you choose to work with ibm mainframe cobol programming?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly