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 is the function of entry sequenced data set?
What is speed parameters in define cluster command?
What are the different commands used in idcams for vsam?
explain in brief why do vsam take more disk space than other utilities?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
What is the main function of linear dataset?
Explain the device independent method to indicate where a record is stored?
what do you mean by a shareoptions parameter (shr) in define cluster command?
Tell about the ams used in vsam?
explain in brief how are different versions of gdg named?
can you specify some the distinctive features of a ksds, key sequenced dataset?
what is the probability of a complete system distortion under high end low performing multiprocessor job?
Explain the catalog?
Explain the function of the relative record data set?