As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am trying to get "view source" of the executed sql code/query.
Action: - trying to get view source code when clicking the EXCEL button (Exported to EXCEL where the query is excuted)
When using the below on the top of the file.
SET XRETRIEVAL=OFF SET TRACEOFF = ALL SET TRACEON=STMTRACE SET TRACEON = SQLAGGR//CLIENT SET TRACEON = STMTRACE//CLIENT SET TRACEON = STMTRACE/2/CLIENT SET TRACEUSER = ON
I get Error number: -3706
Another option I could think of is saving the query to variable and send it to alert message? But was unsuccessful in getting the query.
the below shows the output of the table. -* ....... TABLEF ON TABLE HOLD AS APPLE FORMAT ALPHA END -RUN -SET &ECHO=OFF; -HTMLFORM BEGIN <script> alert("Query : " + !IBI.FIL.APPLE;
-HTMLFORM END -RUN -EXIT -*
Any suggestions.
Thanks.This message has been edited. Last edited by: FP Mod Chuck,
WEBFOCUS - 8202 OS - Windows Output - PDF, Excel, HTML, txt.
Welcome to Focal Point! If you add -SET &ECHO=ALL; as the first line of your fex and after you run it view the source of the output and scroll to the bottom, it will display the SQL generated. Your output needs to be HTML in order for this to work.
Out of curiosity, which DBMS are you accessing?
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005