EMPTY VSAM FILE



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

EMPTY VSAM FILE

Postby madhavan » Mon Mar 26, 2012 6:23 pm

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
madhavan
 
Posts: 23
Joined: Fri Mar 09, 2012 11:03 am
Has thanked: 0 time
Been thanked: 0 time

Re: EMPTY VSAM FILE

Postby Alison Oliveira » Mon Mar 26, 2012 6:56 pm

look at this...
http://ibmmainframes.com/about16991.html
this will help you... kkkkkkkk!!!
Alison Oliveira
 
Posts: 37
Joined: Fri Jan 20, 2012 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: EMPTY VSAM FILE

Postby BillyBoyo » Mon Mar 26, 2012 6:57 pm

In what was do you want to "check" it? You can always use IDCAMS...
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: EMPTY VSAM FILE

Postby Robert Sample » Mon Mar 26, 2012 7:14 pm

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: EMPTY VSAM FILE

Postby NicC » Mon Mar 26, 2012 10:01 pm

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'
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post