Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 & VSAM
View previous topic :: :: View next topic  
Author Message
jkbytes

Active User


Joined: 19 Feb 2005
Posts: 141
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

SteveConway

New User


Joined: 26 May 2005
Posts: 28
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: 141
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us