All,
Searching this forum, I learned that the following lines of code would capture the SQL script but wouldn't acutally run it.
SET TRACEOFF = ALL
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = STMTRACE//CLIENT
SET TRACEUSER = ON
SET XRETRIEVAL = OFF
but, when I try this, I don't see any code on screen or in view source in Internet Explorer.
Here is the code:
SET TRACEOFF = ALL
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = STMTRACE//CLIENT
SET TRACEUSER = ON
SET XRETRIEVAL = OFF
-*=========================================================
TABLE FILE GGSALES
SUM UNITS DOLLARS
BY REGION
BY CATEGORY
ON REGION SUBTOTAL
WHEN DOLLARS GT 11500000
SUBFOOT
"The total for the (REGION region is less than 11500000."
WHEN DOLLARS LT 11500000
END
Here is the result:
No HTML Output!
--------------------------------------------------------------------------------
...RETRIEVAL KILLED
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0
and here is the result in IE view source:
<HTML>
<HEAD>
<TITLE>WebFOCUS Message[42]: NO EDA HTML Output</TITLE>
</Head>
<Body>
<HR><H3 ALIGN=center>No HTML Output!</H3><HR>
<PRE>
<H5>
...RETRIEVAL KILLED
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0
</H5>