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

how to see when the last read access to a table was?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mike 1304

New User


Joined: 15 Oct 2011
Posts: 46
Location: Germany

PostPosted: Tue Sep 12, 2017 7:52 pm
Reply with quote

Hi,

I want to make housekeeping.
I have some old tables with configuration data of some applications.
The tables are not changed the last 10 years.
But I do not know, if anyone still reads this tables.
The tables are in production and could be useed by some important applications. So try and error (rename) is a risky way.

And: I think reading SMF records of the last 10 years is not a solution.

How can I check when the last read access take place?

Mike
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3109
Location: NYC,USA

PostPosted: Wed Sep 13, 2017 8:57 am
Reply with quote

Ttry,
1.LASTUSED col in SYSIBM.SYSINDEXESTATS
2.CRUD SQL
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 4
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Rexx to read current Panvalet editor/... CLIST & REXX 0
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top