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

Differentiate between control interval (ci) and control area (ca)?

0 Answers  


explain how can you initialize a vsam file before any operation?

0 Answers   IBM,


difference between vsam and database tables

0 Answers   IBM,


What are the different commands used in idcams for vsam?

0 Answers  


Explain the index set?

0 Answers  






Explain the significance of the shareoptions parameter?

0 Answers  


Discuss record management in vsam?

0 Answers  


What is the maximum record length for the VSAM dataset?

7 Answers   Infosys,


Explain the meaning and syntax for the START command. ?

4 Answers   IBM,


what do you mean by define model parameter?

0 Answers   IBM,


What is the difference between PS file and VSAM file?

7 Answers   IBM, Infosys, Verizon,


What is a ci split?

0 Answers  


Categories