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 |
explain the differences between vsam and non-vsam files
there are seven idcams commands in vsam. Can you name and explain each of them?
What are all the ways we can create datasets?
Define a path?
What is a lds (linear data set)?
In the COBOL SELECT statement what is the ORGANIZATION for a KSDS?
Explain the difference between lds and esds?
can any one tell "in esds in what structure records will stored?"
What is IDCAMS? and what is the purpose of it?
print ids(/)char??what is the full form of ids??
Can you delete vsam files with the delete option of the disposition parameter of jcl?
By looking into the Jcl can we identify the dataset is VSAM?
5 Answers Cognizant, Keane India Ltd,