file status 00 is checked after opening the file or reading
the file
Answers were Sorted based on User's Feedback
Answer / dilli
it can be used for both the situation for successful opening
and reading the file
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / vamsi
file status codes:
41: already opened trying to open again
02:duplicate key
00:opened sucessfully
21:duplicate record
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / srinath
File status is checked at both times i.e while opening as
well as while reading the file also.
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / neha
no it is used for opening the file. for reading file 01 is
code generally.from successful run the code
| Is This Answer Correct ? | 0 Yes | 1 No |
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
What is the difference between binary search and sequential search?
what is sysncpoint?
Can a Search can be done on a table with or without Index?
What kind of error is trapped by on size error option?
What guidelines should be followed to write a structured Cobol program?
How will you find the currepted records in a file
How can we know that cobol program is using report file or simple file....?
What is difference between static and dynamic call in cobol?
which one is the best of com and com-3.using of real time ?
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
What is SET TO TRUE all about, anyway?