Focal Point
[SOLVED] command to see the parsed sql query

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

June 24, 2010, 12:39 PM
jjoyce
[SOLVED] command to see the parsed sql query
I can't remember the syntax or keywords so I'm having trouble searching for it.. can someone remind me of the command(s) that will show the sql that is generated from a table file command? I think it stops the query from being passed to the database as well...
Thanks in advance!

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


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF
June 24, 2010, 12:55 PM
fatboyjim
Hi,
  
SET TRACEOFF=ALL
SET TRACEON=STMTRACE//CLIENT
SET TRACEON=SQLAGGR//CLIENT
SET TRACEUSER=ON
SET XRETRIEVAL=OFF


The XRETRIEVAL=OFF option will stop database from executing the query.

Best Regards,

Jimmy Pang


DEV: WF 7.6.10
TEST: WF 7.6.10
PROD: WF 7.6.10
MRE: WF 7.6.4
OS/Platform: Windows
Dev Studio: WF 7.7
Output: HTML, EXCEL, PDF, GRAPH, LOTUS, CSV
June 24, 2010, 12:56 PM
Tom Flynn
From Francis Mariani


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
June 24, 2010, 12:57 PM
jjoyce
Found it searching through a bunch of old code...

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


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF