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: 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: 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 unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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