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
 
DB2 Log information about the Table Which being Updated

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

New User


Joined: 15 Sep 2007
Posts: 31
Location: Chennai

PostPosted: Tue Apr 28, 2009 3:53 pm    Post subject: DB2 Log information about the Table Which being Updated
Reply with quote

Hi
i want to see the information about the Table Which being Updated,Inserted,Browsed,Deleted By all Jobs or we can say other programes whether its batch or online................So how can see all those details that is nothing but LOG for perticular table.

Thanks

Prem
Back to top
View user's profile Send private message

yasodha_p

New User


Joined: 03 Apr 2008
Posts: 14
Location: Chennai

PostPosted: Tue Apr 28, 2009 5:07 pm    Post subject:
Reply with quote

We can see this infromation in SYSIBM.SYSTABLE
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Apr 28, 2009 9:32 pm    Post subject:
Reply with quote

SYSTABAUTH will tell you who has update, insert, select, delete authority of any particular table.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Tue Apr 28, 2009 11:34 pm    Post subject: Reply to: DB2 Log information about the Table Which being Up
Reply with quote

Hi

Quote:
So how can see all those details that is nothing but LOG for perticular table.


If I understood your post, you must have to create the table with AUDIT[ALL|CHANGES]. To get the information about the access of the table, the DB2 system in which the table is created must have TRACE activated either by using a -START TRACE command or specify YES for AUDIT TRACE in the Tracing Panel (DSNTIPN).
DB2 will send audit data to SMF. That is the default location. Then you need to extract type 102 record from SMF. That will give you the details of access to the specified table. But this will not include access through DB2 Utilities like COPY, REPAIR, RECOVER and any stand-alone utilities.
This is only a small info. More you can get it from DB2 manuals.

Regards
Raghu
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts Information About the Equifax Securit... Rohit Umarjikar PC Guides & IT News 6 Mon Sep 11, 2017 9:10 pm

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