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
 
Obtain date a table was loaded with all new records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
madmartinsonxx

New User


Joined: 10 Dec 2010
Posts: 96
Location: Massachusetts

PostPosted: Thu May 19, 2011 11:48 pm    Post subject: Obtain date a table was loaded with all new records
Reply with quote

Hi,
I spoke with the DBA's on this and got an 'i don't think so'. We are running trial conversions for different months going back from today and the DB2 tables we are using are getting 'refreshed' with PROD data for a fixed day. I thought maybe we could query off of sys1dummy to get the date that new data was loaded in. I do not think we are dropping the table so maybe this approach is a no go. We would like to use that date to get 3 years back worth of some payment history.
No rush and thanks.
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri May 20, 2011 12:41 pm    Post subject:
Reply with quote

Do you mean the date the test was refreshed ?
It depends on how the refresh is done. if with DSN1COPY (which is the most likely), then you won't find out directly.

in SYSIBM.SYSCOPY history is kept (site dependent on how long) of what happened to that tablespace within DB2.

for example : a ICTYPE = 'R' or 'S' is a LOAD REPLACE.
the rest you can find in the manuals.

as said DSN1COPY is outside DB2, so you won't find that. But after a DSN1COPY other stuff has to happen like REBUILD INDEX, CHECK DATA and/or REPAIR which you can find in SYSCOPY.
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 Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 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 Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am

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