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 see when the last read access to a table was?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: how to see when the last read access to a table was?
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

Senior Member


Joined: 21 Sep 2010
Posts: 1896
Location: NY,USA

PostPosted: Wed Sep 13, 2017 8:57 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extracting DDL for all list of intere... Ashishpanpaliya DB2 1 Mon May 21, 2018 4:08 pm
No new posts Procopt G -concurrent Read balacsv2 IMS DB/DC 1 Mon Apr 23, 2018 5:03 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts COBOL declaration for table Poha Eater DB2 3 Mon Feb 26, 2018 6:58 pm

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