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  iWay Software Product Forum on Focal Point    [CLOSED] SQL Stored Procedure with Temp Table from Webfocus

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SQL Stored Procedure with Temp Table from Webfocus
 Login/Join
 
Silver Member
posted
I have SQL Stored procedure that is creating temporary table and dropping temporary table on SQL. and then after process it returns record set of processed data. I have to call that SQL stored procedure from Webfocus procedure.

Below is the code I am trying to call from webfocus procedure
-----------------------------------------------
-SET &ECHO=ALL;

ENGINE SQLMSS SET CURSORS CLIENT
ENGINE SQLMSS SET DEFAULT_CONNECTION STAGE_DBs

SQL SQLMSS SET NOCOUNT ON
SQL SQLMSS SET ANSI_WARNINGS OFF

APP HOLDMETA GORE_TEMP

SQL SQLMSS PREPARE SQLOUT FOR
EXEC [STAGE_RTM_CLAIM].[dbo].[SP_CLMNT_RISK_RSRV_TX_F] '01-JAN-2010','31-JAN-2010'
;
TABLE FILE SQLOUT
PRINT *
END
-----------------------------------------------
I am getting below error.
-----------------------------------------------
(FOC1400) SQLCODE IS 208 (HEX: 000000D0) XOPEN: 42S02
: Microsoft OLE DB Provider for SQL Server: [42S02] Invalid object name '#
: MAIN_SOURCE'.
(FOC1405) SQL PREPARE ERROR.
-----------------------------------------------
#MAIN_SOURCE IS THE TABLE THAT I AM CREATING AS TEMPORARY TABLE

Thanks, Virul

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


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012
 
Posts: 32 | Location: Cambridge, Ontario, Canada | Registered: June 02, 2014Report This Post
Guru
posted Hide Post
HI Viral,

The error that you are receiving has a few resolutions when I entered it into the TechSupport page Knowledge base. Here a few of the links I found - no all related to Data Migrator but might give you an idea of how to resolve this issue.

Please review the following - you may have to logon to TechSupport



Call stored procedure that uses temp files: SQLCODE IS 208

FOC1400 SQLCODE 208 Invalid object name


SQLMSSFrownerFOC1400) SQLCODE IS 208 (HEX: 000000D0) XOPEN: 42S02

(FOC1400) SQLCODE IS 208 (HEX: 000000D0) XOPEN: 42S02

Hopefully, one of the above will point you in the right direction. Please keep us informed of your results.

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator
Information Builders Inc.
* Summit 2016 – June 13-17 in Reno, Nevada  - http://www.informationbuilders.com/events/summit


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] SQL Stored Procedure with Temp Table from Webfocus

Copyright © 1996-2020 Information Builders