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     USING DATA IN A DB2 GLOBAL TEMP TABLE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
USING DATA IN A DB2 GLOBAL TEMP TABLE
 Login/Join
 
Member
posted
I am exploring the use of global temp tables to improve performance of several reports. The problem is that I can't figure out how to use the data in the temp table. Here is my fex:
APP HOLD ETGA

ENGINE DB2 SET DEFAULT_CONNECTION u1xsl01
SQL DB2 PREPARE SQLOUT FOR
SELECT B_BUDGET_ID FROM XSL.BUDGET_PROJECTED
WHERE B_YEAR = '2009' and B_PROMOTION_MONTH = '12'
WITH UR;
END
TABLE FILE SQLOUT
PRINT
B_BUDGET_ID
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS HOLD_BUDGET_ID FORMAT SAME_DB PERSISTENCE VOLATILE
ON TABLE SET HTMLCSS ON
END
APP HOLD ETGA
TABLE FILE HOLD_BUDGET_ID
PRINT
B_BUDGET_ID

END

and here is the error message:

0 NUMBER OF RECORDS IN TABLE= 158 LINES= 158
(FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: HOLD_BUDGET_ID
(FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: HOLD_BUDGET_ID
BYPASSING TO END OF COMMAND

Any help would be greatly appreciated.

thanks - John

v7.6.10


7.6.10
windows
AIX
UDB
SQL Server
 
Posts: 9 | Location: Omaha, NE | Registered: October 21, 2008Report This Post
Virtuoso
posted Hide Post
why do you put it in an hold file?

if posted in an hold file why do you do all the heading and footings ?

the set APP HOLD ETGA sets the path for the location of the file you want to use....

did you get any training?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Here is a link that will provide you with the correct syntax for using pass-through SQL. Select the link for "Using SQL Translator Commands".

http://documentation.informati...htm?url=topic257.htm


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Expert
posted Hide Post
Also, SAME_DB was pretty buggy in the early releases of 7.6. I have ..5 and still won't use it. It looks alright in ..10.

You might want to open a case to check the status of your release.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report 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     USING DATA IN A DB2 GLOBAL TEMP TABLE

Copyright © 1996-2020 Information Builders