Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 1239
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: 186
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Obtaining file information pahiker COBOL Programming 25 Tue Sep 27, 2016 7:25 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us