View Single Post

   
  #2 (permalink)  
Old 02-26-2008, 06:57 PM
Knut Stolze
 
Posts: n/a
Default Re: C++ on DB2 express

Abi M wrote:

> Hi,
> I am trying to find some bug on c++ application which is connectiing to
> db2 express edition on linux. The application is using native CLI
> to connect to the database.
> When I use the db2trc to trace the application and it produces lot
> of unnecessary messages and it is hard to read. In few minutes it
> produces megs of data.
> Is there any way I can produce only the usefull messages?


Have you tried to take a CLI trace? For that, add the following to your
db2cli.ini in the [common] section:

trace=1
tracefilename=/path/to/tracefile
traceflush=1

(the last might not be needed for you)

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Reply With Quote