Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
how to know whether vsam dataset have been populated and del

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
jkbytes

Active User


Joined: 19 Feb 2005
Posts: 142
Location: South Africa

PostPosted: Thu May 26, 2005 9:39 am    Post subject: how to know whether vsam dataset have been populated and del
Reply with quote

Hi ,

Without opening a VSAM file is it possible to know that whether any data has been ever populated into it, or whether no data has ever been populated using the LISTCAT. If so how?

Thanks & Regards.

JKBYTES
Back to top
View user's profile Send private message
References
PostPosted: Thu May 26, 2005 9:39 am    Post subject: Re: how to know whether vsam dataset have been populated and del Reply with quote

SteveConway

New User


Joined: 26 May 2005
Posts: 30
Location: Northern VA, USA

PostPosted: Thu May 26, 2005 7:18 pm    Post subject: Re: how to know whether vsam dataset have been populated and
Reply with quote

On a LISTCAT against the VSAM dataset, look at field REC-TOTAL to see if there are records in the file. To see if it has ever been used, look at HI-U-RBA. (This is not necessarily true of all files, as an application may initialize or in some other way allocate all space.)

Cheers,,,Steve
Back to top
View user's profile Send private message
jkbytes

Active User


Joined: 19 Feb 2005
Posts: 142
Location: South Africa

PostPosted: Fri May 27, 2005 9:02 am    Post subject: Re: how to know whether vsam dataset have been populated and
Reply with quote

Hi Steve,

Quote:
Thanks for your views.


Thanks & Regards,

JKBYTES
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1