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 makes vrrds different from vsam?
What is the use of lds (linear data set)?
What is a ci split?
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
What is the difference between sequential files and ESDS files?
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?
What is the Difference between LDS & ESDS ?
Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?
should a AIX should be a unique value?
can you specify some the distinctive features of a ksds, key sequenced dataset?
can any one tell "in esds in what structure records will stored?"
Assuming that the DEFINE JCL is not available, how do you get info about a VSAM file's organisation?