What happens when you open an empty VSAM file in a COBOL
program for input?
Answer Posted / guest
A VSAM file that has never contained a record is treated as
unavailable. Attempting to open for input will fail. An
empty file can be opened for output only. When you open for
output, COBOL will write a dummy record to the file & then
delete it out.
| Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
difference between vsam and database tables
what do you mean by idcams? Explain its purpose?
What is the device independent method to indicate where a record is stored?
why ci and ca splits are not possible in esds and rrds?
Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?
What is the place for VSAM KSDS?
What is the purpose of control intervals in vsam?
what is the syntax of ams modal commands?
Why is it required to have a keyed directed retrieval?
what do you mean by a shareoptions parameter (shr) in define cluster command?
what is a base cluster in vsam?
What is recovery parameters in define cluster command?
What are the common vsam error conditions and codes?
to use the rewrite command, how should the vsam file be opened?
what is meant by s0c-07 system abend codes?