If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > cli trace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-04, 11:26
chavadb2 chavadb2 is offline
Registered User
 
Join Date: Aug 2004
Posts: 138
cli trace

udb V8 fp 5
unix

can cli trace be run on both dbserver and client side? or only from client side?
Reply With Quote
  #2 (permalink)  
Old 11-17-04, 11:58
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
cli trace is a client side trace ... So, it can be activated only on a client ...Of course, the client can sit on the same box as the server ...

To put it in another way, you will have to enable cli trace at each client you want the trace for ... You cannot enable it at a server, and 'trace' all client activities ...

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 11-17-04, 18:04
chavadb2 chavadb2 is offline
Registered User
 
Join Date: Aug 2004
Posts: 138
thanks a lot
Reply With Quote
  #4 (permalink)  
Old 11-21-04, 09:18
chavadb2 chavadb2 is offline
Registered User
 
Join Date: Aug 2004
Posts: 138
I was able to run cli trace on the db server . This is because infomatica is also installed on the db server. Here is what I did

db2cli.ini is modified by adding

[COMMON]
tracecomm=1
traceflush=1
TraceFileName=/XXX/home/XXXX/trace.file
trace=1

we have to make sure informatica user has write permissions on trace.file
after setting this application(informatica) is restarted and the trace works.
for turning off the trace removing the trace.file or trace=0 didn't work and the trace only ended when the application restarted
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On