Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] OLAP with SQL passthru

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] OLAP with SQL passthru
 Login/Join
 
Gold member
posted
Hi,

I have an SQL passthru that performs a union operation.
I do a TABLE FILE SQLOUT and save the output as ON TABLE HOLD FORMAT FOCUS.
I again perform some operations on this HOLD file and do a ON TABLE PCHOLD FORMAT HTMTABLE.
The report works fine when I run it. But, When I OLAP enable this report , it does not work!

How would I get around this problem?

Thanks.

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


WF 7.1.1, WF Developer studio 7.1.1, Windows & Mainframe, HTML
 
Posts: 84 | Registered: July 28, 2009Report This Post
Virtuoso
posted Hide Post
Create a synonym for the sql statement. To do this, create a file (xxx.sql) and put it on the file system where the WFRS is located. Then go to create a new synonym in either Dev Studio or the WFRS console. When you create a new synonym, select external SQL scripts as the source. Once a master has been created for the sql statement, you should be able to olap enable the report that is driven from it with no issues.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Gold member
posted Hide Post
That seems like what I need. I'll try it out.
Thanks!


WF 7.1.1, WF Developer studio 7.1.1, Windows & Mainframe, HTML
 
Posts: 84 | Registered: July 28, 2009Report This Post
<JG>
posted
quote:
ON TABLE PCHOLD FORMAT HTMTABLE

You should not use HTMTABLE for OLAP as it does not generate the required javascript.

To see what I mean do a view source against the outputs from the following examples

-OLAP ON
TABLE FILE CAR
PRINT DEALER_COST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE PCHOLD FORMAT HTML
END

and

-OLAP ON
TABLE FILE CAR
PRINT DEALER_COST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE HOLD FORMAT HTMTABLE
END
-RUN
-HTMLFORM HOLD
-* This is the correct way to display HTMTABLE output
-* PCHOLD FORMAT HTMTABLE is not valid as it generates an incomplete HTML document, It's only the table.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] OLAP with SQL passthru

Copyright © 1996-2020 Information Builders