Article View: ibm.software.vajava.beans
Article #6Re: Unreliable data in com.ibm.db.SelectResult rows
From: Becky Nin
Date: Thu, 20 May 1999 00:00
Date: Thu, 20 May 1999 00:00
24 lines
2174 bytes
2174 bytes
Chris, I have just been experimenting with the CLI trace after your note. The instructions we gave were to use the line: tracefilename=xxx in your DB2CLI.INI file. There is another option, which is to use: tracepathname=c:\sqllib (specify whatever directory you want on whatever drive you want) We suggested "tracefilename" in our instructions because it seemed simpler. After experimenting with it myself, I found the same problems as you did. However, if you switch to "tracepathname" and then reboot, these problems should go away. Once you do that, you can just turn the trace on and off in DB2CLI.INI and the trace will start and stop without even stopping and starting DB2. I was also able to edit the trace file while DB2 was still running. The only thing I can't do is erase the file. You wont' be able to erase a trace file until all the DB2 processes using it are terminated. Unfortunately, I can't offer any advice on how to do that better than you described in your note. When you use "tracepathname", a separate trace file will be created for each thread. All the files will have generated names. On my NT machine, these names are all numeric (for example: 263.0, 263.1). They should be pretty easy to find in the directory you specify. You just have to figure out which one contains the trace statements you are looking for.
Technical Details
Message-ID:
<37445BE1.ED1C5EA@us.ibm.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7hc41d$13mu$1@news.software.ibm.com> <37397B18.E9E9A1DE@us.ibm.com> <7hcaun$urs$1@news.software.ibm.com> <373C38EE.6816006F@us.ibm.com> <7hphjl$o06$1@news.software.ibm.com> <7hrrag$lu2$1@news.software.ibm.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7e2e,4f3f24e93bd98029 X-Google-Attributes: gidf7e2e,public X-Google-Thread: 109b1c,53641f9e313ee801 X-Google-Attributes: gid109b1c,public From: Becky Nin <nin@us.ibm.com> Subject: Re: Unreliable data in com.ibm.db.SelectResult rows Date: 1999/05/20 Message-ID: <37445BE1.ED1C5EA@us.ibm.com> X-Deja-AN: 480294035 Content-Transfer-Encoding: 7bit References: <7hc41d$13mu$1@news.software.ibm.com> <37397B18.E9E9A1DE@us.ibm.com> <7hcaun$urs$1@news.software.ibm.com> <373C38EE.6816006F@us.ibm.com> <7hphjl$o06$1@news.software.ibm.com> <7hrrag$lu2$1@news.software.ibm.com> Organization: IBM Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: ibm.software.vajava.beans,ibm.software.db2.udb.eee