Anybody aware of this kind error in WebFOCUS 7.1.1? "(FOC1400) SQLCODE IS -1(HEX: FFFFFFFF) (FOC1407) SQL FETCH CURSOR ERROR. : AR_INVOICES"This message has been edited. Last edited by: Jeeva,
Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
December 09, 2005, 06:14 PM
Mikel
Querying FOCUS 1407 error code:
? 1407
quote:
(FOC1407) SQL FETCH CURSOR ERROR. %1%2%3%4
An error condition occurred while attempting to fetch data through a cursor in the RDBMS.
An additional error message specifying the appropriate RDBMS error code will usually accompany this message.
Consult the appropriate RDBMS error message reference for proper corrective measures.
What RDBMS are you using?
If you are using DB2, in order to retrieve native DB2 Error Message, try also:
SQL DB2 SET ERRORTYPE DBMS
Regards, Mikel
WebFOCUS 8.1.05, 8.2.01
December 09, 2005, 06:39 PM
Jeeva
We are using Oracle 9.2. Is this related to Oracle version? This error comes only in WebFOCUS 7.1 and 7.1.1 versions, report runs fine in 5.32.
Thanks, Jeeva
Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
December 12, 2005, 04:42 PM
Cyril Joy
Are you able to access any tables from database through WF711?
Regards, Cyril Joy.
WF Production 8008 on Linux.
December 13, 2005, 05:14 PM
Jeeva
Yes, we are. We have about 250 reports in WebFOCUS 7.1.1 only few of them having problems like this.
Thanks, Jeeva
Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
December 13, 2005, 05:23 PM
Francis Mariani
Only a few? Are there unusual columns in these, VARCHAR, CLOB, etc?
Did you recently upgrade Oracle? If so, did you generate new meta-data?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 21, 2005, 08:08 PM
Jeeva
Thanks Francis. I've changed all VARCHAR fields on master file to ALPHA but still I am getting the same error. We did not upgrade Oracle recently but I've created new metadata for the master files as well. Any other advices?
Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
December 22, 2005, 09:26 AM
Francis Mariani
Was there a more detailed error message from Oracle?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 22, 2005, 12:04 PM
N.Selph
Check the NLS settings of the data sources that don't work. If they are different from the ones that do, that may be related to the issue we are having with 7.1.1
I ran some search regarding the error messages and came across the following topics from Information Builders' online documents, which may be of interest:
Kerry Zhan Focal Point Moderator Information Builders, Inc.
January 17, 2006, 04:05 PM
Jeeva
Thanks to all of you who posted your suggestions on this. We have patched Oracle client on WebFOCUS server to 9.2.0.6. Everything is working fine after the patch.
Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
July 19, 2006, 05:46 PM
Mickey
I get the the same error when executing a fex against Oracle 10 g database. The server has the 10 g client installed on it. On further investigation I realised that the error occured when trying to sum a column which had null values. I fixed the error by replacing null with zeroes in define. The new code looks something like this
DEFINE FILE tab NEWCOL/D15.2 = IF COL EQ MISSING THEN 0 ELSE COL; END TABLE FILE tab SUM NEWCOL BY COL1 BY COL2 END
My question is if this is the expected behavior when trying to SUM null columns. The code worked fine in 532.