DBA > Job Interview Questions > Virtual Storage Access Method (VSAM) Interview Questions

What happens when you open an empty VSAM file in

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

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

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 and then delete it our.

(Continued on next question...)

Other Job Interview Questions