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 the function of entry sequenced data set?
what is a Base Cluster?
What is a path?
If we are using empty VSAM file, we can see this empty file by using FILE AID tool. How can we open empty VSAM file if you are using in Program..?
what do you mean by the repro command?
what is the purpose of the verify function of idcams?
FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS
explain how can you initialize a vsam file before any operation?
What is Control Interval, Control Area ?
What is VERIFY command ? when do you use this command?? What actually it does ??
when u r using repro command what happens if both infile and outfile names same
What is the function of linear dataset in vsam?