IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to know whether vsam dataset have been populated and del


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jkbytes

Active User


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

PostPosted: Thu May 26, 2005 9:39 am
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
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: 139
Location: South Africa

PostPosted: Fri May 27, 2005 9:02 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top