Result of opening an empty VSAM file.

Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Result of opening an empty VSAM file.

Postby Pebble » Wed Aug 26, 2009 8:10 am


What happens when an empty VSAM file is opened in COBOL program for input?

User avatar
Posts: 8
Joined: Wed Aug 26, 2009 7:55 am
Has thanked: 0 time
Been thanked: 0 time

Re: Result of opening an empty VSAM file.

Postby dick scherrer » Wed Aug 26, 2009 8:19 am


To be processed successfully as input, a vsam file must have at least one record.

Most times, a record is added as part of defining a new empty vsam file. The convention is often a high-values or nines record, but can be anything that everyone writing code understands.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6269
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Return to VSAM/SMS


  • Related topics
    Last post