View previous topic :: View next topic
|
Author |
Message |
prem_ibm
New User
Joined: 15 Sep 2007 Posts: 31 Location: Chennai
|
|
|
|
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 |
|
|
yasodha_p
New User
Joined: 03 Apr 2008 Posts: 14 Location: Chennai
|
|
|
|
We can see this infromation in SYSIBM.SYSTABLE |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
SYSTABAUTH will tell you who has update, insert, select, delete authority of any particular table. |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
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 |
|
|
|