0 votes
in VSAM by
Can an empty VSAM file be used as input to a Cobol program?

1 Answer

0 votes
by

A VSAM file that contains no records or an empty VSAM file cannot be opened for the purpose of being used as an input to the COBOL program. Users will no longer be able to access them. Rather, an empty file may be opened for output purposes. COBOL writes a dummy record into the file and deletes it once the user opens it.

Related questions

0 votes
asked Aug 27, 2022 in VSAM by Robin
0 votes
asked Aug 27, 2022 in VSAM by Robin
0 votes
asked Aug 27, 2022 in VSAM by Robin
...