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 ENDThis 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
February 20, 2006, 02:02 PM
dhagen
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
February 21, 2006, 01:12 AM
Moogi
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