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] Error when calling a stored proc

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Error when calling a stored proc
 Login/Join
 
Member
posted
One of my users is getting these errors:

(FOC1400) SQLCODE IS 156 (HEX: 0000009C) XOPEN: S0001
: (156) [S0001] Incorrect syntax near the keyword 'TABLE'.
(FOC1414) EXECUTE IMMEDIATE ERROR.


Here is the code that is executing:

SQL SQLMSS SET SERVER FLORA3
END
SQL SQLMSS
-*
-IF &LAUNCH_RPT NE 'BR1' THEN GOTO BR2START;
-*EX e_CTR_PlatformReport1_legacy 20000042, 010113, 021413;
EX e_CTR_PlatformReport1_legacy &&G_ORGID, &DT_FROM, &DT_TO;
-GOTO COUNTERDONE;
-BR2START;
-IF &LAUNCH_RPT NE 'BR2' THEN GOTO BR3START;
EX e_CTR_Counter2_legacy &&G_ORGID, &DT_FROM, &DT_TO;
-GOTO COUNTERDONE;
-BR3START;
-IF &LAUNCH_RPT NE 'BR3' THEN GOTO BR5START;
EX e_CTR_Counter3_legacy &&G_ORGID, &DT_FROM, &DT_TO;
-GOTO COUNTERDONE;
-BR5START;
-IF &LAUNCH_RPT NE 'BR5' THEN GOTO COUNTERDONE;
-*EX e_CTR_Counter5_legacy 20000042, 010113, 021413;
EX e_CTR_Counter5_legacy &&G_ORGID, &DT_FROM, &DT_TO;
-COUNTERDONE;

TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS NEWONE FORMAT FOCUS
END
-RUN

I do not get the errors, I get the a report. Is is possible that the errors are related to timing, that maybe I have a faster intenet connection than the user?

Is WF trying to process the TABLE command faster than the stored procedure can return the dataset?

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 5 | Location: El Sobrante, CA | Registered: September 07, 2007Report This Post
<Kathryn Henning>
posted
Hi DebbieD,

Your user could be using a different profile or a different version of the SQL Server native client. It looks like it's going to involve some debugging, so I would like to suggest opening a case on InfoResponse Online.

Thanks and regards,

Kathryn
 
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] Error when calling a stored proc

Copyright © 1996-2020 Information Builders