Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us