Focal Point
[SOLVED] Connect to DB2

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

November 06, 2008, 09:58 AM
Petren
[SOLVED] Connect to DB2
When i try to connect to DB2 base


(FOC1394) CONNECT FAILURE
(FOC1400) SQLCODE IS -99999 (HEX: FFFE7961)
: [S1009] [IBM][CLI Driver] CLI0124E . SQL
: STATE=S1009
(FOC1405) SQL PREPARE ERROR.
(FOC1394) CONNECT FAILURE
(FOC1400) SQLCODE IS -99999 (HEX: FFFE7961)
: [S1009] [IBM][CLI Driver] CLI0124E . SQL
: STATE=S1009
(FOC1405) SQL PREPARE ERROR.
(FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: HOLD
BYPASSING TO END OF COMMAND

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


WebFOCUS 7.6 on Win 2K/IIS 6/Weblogic 8.1/Servlet Mode
November 06, 2008, 10:26 AM
Syed
Looks like the data adapter to make WebFOCUS connections to your database has not been configured. Please check with your admin.

If this is not the issue, check your database - whether it is up and running. Fire a query against the database outside of WebFOCUS.

Do ensure that the username/pswd which you are using to access the database, has 'read' access to it.

Hope this helps.

Rgds
Syed


Using WF 7.1.7/Dev Studio
November 06, 2008, 10:37 AM
GinnyJakes
Another debugging tool is to type:

SQL DB2 ?

from an adhoc tool. It will tell you what the setup for your DB2 adapter is.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 07, 2008, 01:38 AM
Petren
Yes, SQL DB2, local database(WF and DB2 stay on one computer0,name of base - TOOLSDB(default DB), login as DB2ADMIN


WebFOCUS 7.6 on Win 2K/IIS 6/Weblogic 8.1/Servlet Mode
November 07, 2008, 04:39 AM
GamP
Searching for this issue on the internet gave me this result:
Issue:
[IBM][CLI Driver] CLI0124E Invalid argument value.
SQLSTATE=S1009, Connector 'db2', Method -Connect- (0xFFFE7961)

Resolution:
Check that the database name is correct -- this is set up at the native client level.
If using 'odbc' instead of 'db2', set up a system connection in the "Data Sources (ODBC)" control panel.



GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
November 07, 2008, 09:38 AM
Petren
Thank you all very much!!!!


WebFOCUS 7.6 on Win 2K/IIS 6/Weblogic 8.1/Servlet Mode