Focal Point
[CLOSED] SQL Tracing Commands/Parameters

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/969102255

October 15, 2010, 10:24 AM
IBForum
[CLOSED] SQL Tracing Commands/Parameters
Could someone point me to the definitive source for documentation on WebFOCUS' SQL tracing SET commands? I'm using WF 7.6.1 and have searched all of the standard documentation that came with the product, but I can't find anything except code examples. For instance, I'm wanting to know what the difference is between SET TRACEON = STMTRACE//CLIENT and SET TRACEON = STMTRACE/2/CLIENT. Although I appreciate direct answers to that question, I would really like to know the name of the document that explains how to use SQL tracing in WebFOCUS. The new version of WF 7.7 is passing SQL that is drastically different from version 7.6.1 and we are able to crash a Sybase database when launching a WF report, so we're looking more closely at the SQL being passed.

This message has been edited. Last edited by: Kerry,


WF 8.1.05, Windows Server 2012 R2
October 15, 2010, 02:03 PM
ABT
i was just looking for it myself. Referenced here: http://forums.informationbuild...1057331/m/5401091052

SET TRACEOFF = ALL
SET TRACEON = SQLAGGR//CLIENT
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = STMTRACE/2/CLIENT
SET TRACEUSER = ON
SET XRETRIEVAL=OFF


- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
October 15, 2010, 02:19 PM
IBForum
Thanks ABT, I believe that post you referenced only shows a pasted example. I would still like to know where IBI has this feature documented, so that I can learn the full extent of its functionality.


WF 8.1.05, Windows Server 2012 R2
October 15, 2010, 03:43 PM
Doug
Then, add my favorite line:

SET TRACESTAMP=OFF (Thanks Howard)

Inclusion of that makes a for a clean direct copy and paste in to your SQL Delevoper tool of chocie.

Yeah, I'm not sure where it's documented...

Doug




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
October 15, 2010, 10:23 PM
Francis Mariani
Here are the trace commands with comments:
http://forums.informationbuild...031090322#3031090322

Here is documentation that describes each setting:
FOCUS for S/390 Relational Data Adapter User's Manual V7.2: Tracing Data Adapter Processing


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server