What happens when you open an empty VSAM file in a COBOL
program for input?

Answers were Sorted based on User's Feedback



What happens when you open an empty VSAM file in a COBOL program for input?..

Answer / saravanan k

You will get a file status of 35

Is This Answer Correct ?    15 Yes 1 No

What happens when you open an empty VSAM file in a COBOL program for input?..

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

What happens when you open an empty VSAM file in a COBOL program for input?..

Answer / vinodh

Will result in
IDC3351I ** VSAM OPEN RETURN CODE IS 160

Is This Answer Correct ?    10 Yes 0 No

What happens when you open an empty VSAM file in a COBOL program for input?..

Answer / jitendra kumar r

use OPTION key word after the select in file control.

Is This Answer Correct ?    2 Yes 1 No

What happens when you open an empty VSAM file in a COBOL program for input?..

Answer / sekhar

soc4 earrer will occer

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More VSAM Interview Questions

What makes vrrds different from vsam?

0 Answers  


What is the use of lds (linear data set)?

0 Answers  


What is a ci split?

0 Answers  


can alternate index use in ESDS since it does not contain primary index? if yes can you explain?

3 Answers   Temenos,


What is the difference between sequential files and ESDS files?

1 Answers   IBM,






Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?

2 Answers   IBM,


What is the Difference between LDS & ESDS ?

3 Answers  


Is it slower if you access a record through ALT INDEX as compared to Primary INDEX? Why?

1 Answers  


should a AIX should be a unique value?

1 Answers  


can you specify some the distinctive features of a ksds, key sequenced dataset?

0 Answers   IBM,


can any one tell "in esds in what structure records will stored?"

1 Answers  


Assuming that the DEFINE JCL is not available, how do you get info about a VSAM file's organisation?

1 Answers   IBM,


Categories