Focal Point
WebFOCUS 7.1.1 error

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4351091241

December 09, 2005, 05:34 PM
Jeeva
WebFOCUS 7.1.1 error
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


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
December 28, 2005, 11:47 AM
Kerry
Hi Jeeva,

I ran some search regarding the error messages and came across the following topics from Information Builders' online documents, which may be of interest:

Oracle 10g - converting column overflows decimal datatype
http://techsupport.informationbuilders.com/sps/12502046.html

FOC1407 SQL FETCH ERROR when request includes ORA VARCHAR2
http://techsupport.informationbuilders.com/sps/12082115.html

SQL passthru - overflows decimal datatype
http://techsupport.informationbuilders.com/sps/93431129.html

Summary: Oracle SQLCODE -1 fetch cursor after upgrade from 524 to 711
http://techsupport.informationbuilders.com/known_problems/13092002.html

Summary: copy table fail from sql server with datetime field to Oracl
http://techsupport.informationbuilders.com/known_problems/93011014.html

Hope this helps. Big Grin

Cheers,

Kerry


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.

TIA
M
WF711/WIN2K/IIS