Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] SQL Tracing Commands/Parameters
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] SQL Tracing Commands/Parameters
 Login/Join
 
Gold member
posted
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
 
Posts: 50 | Registered: March 26, 2004Reply With QuoteReport This Post
Master
posted Hide Post
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
 
Posts: 561 | Registered: February 03, 2010Reply With QuoteReport This Post
Gold member
posted Hide Post
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
 
Posts: 50 | Registered: March 26, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
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.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 3013 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] SQL Tracing Commands/Parameters

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.