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 will happen if there is no secondary allocation made for datasets?
What is the difference between sequential files and ESDS files?
What is the purpose of having vsam data space?
How many buffers are allotted to VSAM KSDS and ESDS?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
explain in brief how are different versions of gdg named?
What is the VSAM-code field?
in a cobol select statement, can you tell what is the organization for a ksds?
Why is master catalog used in vsam?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
what is meant by BUFND & BUFNI..?
What do you mean by RDW in VSAM?