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

DB2 Log information about the Table Which being Updated


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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: 1248
Location: Richfield, MN, USA

PostPosted: Tue Apr 28, 2009 9:32 pm
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: 194
Location: chennai

PostPosted: Tue Apr 28, 2009 11:34 pm
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 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 To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts VSAM LISTCAT INFORMATION JCL & VSAM 2
Search our Forums:


Back to Top