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 |
How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?
Why is master catalog used in vsam?
By looking into the Jcl can we identify the dataset is VSAM?
5 Answers Cognizant, Keane India Ltd,
What is the maximum number of Alternate Index ???
what are s0c1, s0c4, s0c5, s0c7 abends?
What is the use of lds (linear data set)?
what is the RRN for the first record in RRDS?
How do you initialize a VSAM file before any operation? a VSAM with alternate index?
Using alternate indexes in cics program?
What is Control Interval, Control Area?
If you wish to use the REWRITE command haw must the VSAM file be opened?
What is SHAREOPTS ?