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 significance of the shareoptions parameter?
What is a lds (linear data set)?
what are the codes returned by the ams (access method services) command during the execution in vsam?
Explain the difference between lds and esds?
What is a vsam dataset?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
what is meant by dirty read in vsam?
what do you mean by a vsam slot?
Define base cluster?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
Define a path?
Using alternate indexes in cics program?
how can you load a vsam data set with records ?
Why is it required to have a keyed directed retrieval?
Explain the biggest disadvantage of using a vsam dataset?