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

Is there a way to look at the last time a table is loaded.


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

New User


Joined: 24 Nov 2009
Posts: 37
Location: Don't know

PostPosted: Sat Jun 05, 2010 12:33 pm
Reply with quote

Hi,

Problem:
We need the job details which is loading a DB2 tablespace.
We tried out serching the table name by all possible means through source codes/procs/loadreps/loadres but could not find it.

Can some one let me know, if their is any way to check a particular table's last laoded date/time.

FYI...We use BMC Catalogue Manager
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sat Jun 05, 2010 8:21 pm
Reply with quote

Hello,

If you had done a search in the forum, you would have found this current active topic and gotten an answer when you asked the question. . . icon_sad.gif

ibmmainframes.com/viewtopic.php?t=49109
Back to top
View user's profile Send private message
santoshkumarmanilakkoju

New User


Joined: 24 Nov 2009
Posts: 37
Location: Don't know

PostPosted: Sun Jun 06, 2010 9:19 am
Reply with quote

Hi d.sch,

I have searched the forum and also had a look at this current topic before my current post, but my question is a little different;

We can know the last update/reorg/runstats from the catalogue manager or from the query as in the other post.

But how can we know the last time, a table is loaded

Hope I am clear.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Sun Jun 06, 2010 9:51 am
Reply with quote

santoshkumarmanilakkoju,

LOADLASTTIME <-- this is a column name. Table name is given in the link posted by d.sch.

Quote:
FYI...We use BMC Catalogue Manager

I use DB2 Catalog tables.

Sushanth
Back to top
View user's profile Send private message
santoshkumarmanilakkoju

New User


Joined: 24 Nov 2009
Posts: 37
Location: Don't know

PostPosted: Sun Jun 06, 2010 12:56 pm
Reply with quote

Thank you Sushanth and d.sh,

I could get the last load stats by the below qeury:

SELECT LOADRLASTTIME FROM SYSIBM."SYSTABLESPACESTATS"
WHERE DBNAME = '*******' AND
NAME = '*******';
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sun Jun 06, 2010 10:56 pm
Reply with quote

Good to hear you have what you were looking for - thanks for letting us know icon_smile.gif

d
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 5
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
No new posts Create a specific record/file based o... SYNCSORT 8
Search our Forums:


Back to Top