MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Update log of a DB2 table.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Wed Aug 05, 2009 2:22 pm    Post subject: Update log of a DB2 table. Reply with quote

Hi All -
After a long time.. I am back with a question.. Very Happy .

Is it possible to get the userid or application name which updated a table in DB2 for a particular period ?


Thanks,
batu544
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Aug 06, 2009 11:36 am    Post subject: Reply with quote

batu544,

Create or ALTER the table with AUDIT ALL and set up the audit trace class. You can find all the activity on the table.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Fri Aug 07, 2009 5:52 am    Post subject: Reply with quote

Thanks Kolusu for your reply.. but the table which I am talking about is a production table. and I am not sure whether the table has been created with this option.

One more point is, If I can alter the table with AUDIT ALL, then I can find all the activity which are done after that ...

Is there any other way .. ??


Thanks,
Batu
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Aug 07, 2009 11:32 am    Post subject: Reply with quote

batu544,

Unless you have auditing mechanism in place , I don't think you can find out the updates of the table.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group