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
if you wish to use the rewrite command how must the vsam file be opened?
what does a file status of 02 on a vsam signifies?
What is the difference between lds and esds?
what is the meaning of each of the values in shareopts(2 3)?
What is a vsam dataset?
what are s0c1, s0c4, s0c5, s0c7 abends?
What is the purpose of control intervals in vsam?
Explain the device independent method to indicate where a record is stored?
what do you mean by recovery and speed parameters in define cluster command?
what is the probability of a complete system distortion under high end low performing multiprocessor job?
Using alternate indexes in cics program?
explain the information contained in ci
what are the idcams commands that can be used for vsam and explain each of them.
How is the sorting of vsam files carried?
what do you mean by the cobol record key clause in vsam?