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
Explain the purpose of the file status clause in the select statement?
What is the biggest disadvantage of using a vsam dataset?
Explain the biggest disadvantage of using a vsam dataset?
explain the information contained in ci
What is the function of linear dataset in vsam?
How do you define an altindx?
what will happen when you try to open an empty vsam file in a cobol program for input?
what is the probability of a complete system distortion under high end low performing multiprocessor job?
if you wish to use the rewrite command how must the vsam file be opened?
there are seven idcams commands in vsam. Can you name and explain each of them?
what is meant by dirty read in vsam?
On which dataset you can have alt index?
name the utility program closely associated with vsam?
What is a base cluste?
Define gdg?