Page 1 of 1

EMPTY VSAM FILE

PostPosted: Mon Mar 26, 2012 6:23 pm
by madhavan
Hi,

How to check whether vsam file empty or not? If it is empty what type of abend it will show.
Thanks in advance.


Regards,
Madhavan

Re: EMPTY VSAM FILE

PostPosted: Mon Mar 26, 2012 6:56 pm
by Alison Oliveira
look at this...
http://ibmmainframes.com/about16991.html
this will help you... kkkkkkkk!!!

Re: EMPTY VSAM FILE

PostPosted: Mon Mar 26, 2012 6:57 pm
by BillyBoyo
In what was do you want to "check" it? You can always use IDCAMS...

Re: EMPTY VSAM FILE

PostPosted: Mon Mar 26, 2012 7:14 pm
by Robert Sample
Madhavan, are you aware that VSAM files are treated differently if they are empty (never had a data record written) and a file with no records (but has had a record written and deleted). An empty VSAM file cannot be opened for input -- period. A VSAM file with no records can be opened for input.

Re: EMPTY VSAM FILE

PostPosted: Mon Mar 26, 2012 10:01 pm
by NicC
Madhavan - please search the forum (and use google) before posting questions. Some, if not all, of your questions have been asked before and the information is 'out there'