Unix Technical Forum

CLI trace and DBD::DB2

This is a discussion on CLI trace and DBD::DB2 within the DB2 forums, part of the Database Server Software category; --> I'm having problems getting any CLI trace info from my Perl script (which uses DBI and DBD: B2). I ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 05:41 AM
Larry
 
Posts: n/a
Default CLI trace and DBD::DB2

I'm having problems getting any CLI trace info from my Perl script
(which uses DBI and DBD:B2). I did:

db2 update cli cfg for section common using trace 1
db2 update cli cfg for section common using traceflush 1
db2 update cli cfg for section common using tracecomm 1
db2 update cli cfg for section common using \
tracefilename /tmp/test.trc

I then ran my script which does a select statement and fetches the
results, and I don't see any trace info.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 05:41 AM
Larry
 
Posts: n/a
Default Re: CLI trace and DBD::DB2

Found it... the trace file was not writable by the DB2 instance user.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:54 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com