What happens when you open an empty VSAM file in a COBOL
program for input?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vinodh
Will result in
IDC3351I ** VSAM OPEN RETURN CODE IS 160
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / jitendra kumar r
use OPTION key word after the select in file control.
| Is This Answer Correct ? | 2 Yes | 1 No |
What is FREESPACE ?
Explain the device independent method to indicate where a record is stored?
when u r using repro command what happens if both infile and outfile names same
What are the steps involved in access method services?
Do all versions of the GDG have to be of the same record length ? is it possible to ovverride the dcb of the model dataset?
What is the significance of the SHAREOPTIONS parameter?
what does a file status of 02 on a vsam signifies?
what is the drawback of vsam dataset?? a.execution slow. b.free space. c.independent storage device. d.none of the above. let me know the answer with reason.
What is an RBA in rrds? What does it do? What is it used for?
what is the meaning of dynamic processing in vsam?
explain how do you define a gdg in vsam?
Syntax of AMS modal commands ?