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     Stored procedure with parameters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Stored procedure with parameters
 Login/Join
 
Member
posted
Hi,

I am new to the WebFOCUS tool and I am using stored procedure in SQL Report to get the data using parameters from the database. I am getting following error.

The Error:

(FOC1400) SQLCODE IS -1 (HEX: FFFFFFFF) XOPEN: 22018
: Microsoft OLE DB Provider for SQL Server: [22018] Invalid character valu
: e for cast specification.
L (FOC1405) SQL PREPARE ERROR.

SQL Report code:

ENGINE SQLMSS SET DEFAULT_CONNECTION BMC
SQL SQLMSS
EX usr_collection_efficiency_history
@subscriber_key,@collateral_type_key,@peergroup_portfolio_key,@Peergroup_footprint_key,
@loan_origination_type_key;
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS SQLOUT
END

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


Moogi
-----------------------------------------------------------
Prod: WF 7.1.3 Platform Windows, databases: msSQL2000, msSQL2005
Test: WF 7.1.3 on the same platform and databases
 
Posts: 8 | Registered: January 12, 2006Report This Post
Virtuoso
posted Hide Post
That error usually means that you are passing a character value for an integer, or char for date etc. Are you supplying the proper values for your arguments? Also, are the @ symbols suppose to be ampersands (&)?


"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
Member
posted Hide Post
quote:
dhagen


Thanks a lot for help. Actually I was passing the parameter names instead of values. Now it is working perfectly after passing values. But I need to change the values dynamically where I can assign my filter values to the parameters. Please let me know how do assign values dynamically.


Moogi
-----------------------------------------------------------
Prod: WF 7.1.3 Platform Windows, databases: msSQL2000, msSQL2005
Test: WF 7.1.3 on the same platform and databases
 
Posts: 8 | Registered: January 12, 2006Report This Post
Platinum Member
posted Hide Post
Here's a previous posting of mine...

https://forums.informationbuilders.com/eve/forums/a/...051009331#1051009331


Prod - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Dev - WF 7.6.4 Unix/Solaris - Self-Service, BI Dashboard, MRE
Databases: Oracle 10g, SQL Server 2000, DB2.
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report 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     Stored procedure with parameters

Copyright © 1996-2020 Information Builders