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 |
Assuming that the DEFINE JCL is not available, how do you get info about a VSAM file's organisation?
What is the index set?
differentiate between sequential files and esds files in vsam?
What is Control Interval, Control Area ?
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
What is a VSAM slot?
What is the meaning of dynamic processing?
explain how many ways you can load data in a vsam cluster?
What are the three levels of definition for the VSAM DEFINE?
how to view clusters that has more than 10000 records
What is the maximum no. of records that can be allowed in VSAM ?
in vsam at the creation of cluster what is the use of RECSZ parameter?