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

Last referenced date for a member in a PDS?


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

New User


Joined: 30 Mar 2007
Posts: 21
Location: North Carolina

PostPosted: Thu Dec 11, 2008 3:44 am
Reply with quote

Hi All,
Is there any way to find out the last referenced date of a member in a PDS? It would be really great if somebody can help me out?
Our requirement is to find obsolete members in a PDS? So if we get the last reference date is two years back, we are considering it as obsolete. Hope my requirements are clear.

ajay
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 11, 2008 4:25 am
Reply with quote

Hello,

If you have SMF records going back that far, you might be able to get what you want from old smf data (it is very high volume) and may take considerable system resources to process.

Suggest you talk with your system support people and see how long your smf files are kept.

How are these members used? If they are part of production jobs, more care would be needed, but if they are used by developers only, you might create a new backup pds with all of the members force it to migrate offline. Then delete all but the known needed members from the original pds and recover members if/as needed from the backup.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Dec 11, 2008 9:14 pm
Reply with quote

ISPF statistics show created date and latest changed date for PDS members but not last referenced date.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Dec 11, 2008 9:43 pm
Reply with quote

Dick,

SMF record type 14 / 15 does not go down to member level.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 11, 2008 10:11 pm
Reply with quote

Hi Expat,

I guess i was hoping that the new smf record (type 42/sub-type 21) that tracks member deletion might have a companion that tracked reference.

Thinking about it more, i suspect that trying to record every member reference would consume an incredible amount of resources.

I should have looked deeper icon_redface.gif

d
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 Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top