Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Using SQL DB2 ?
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Using SQL DB2 ?
 Login/Join
 
Platinum Member
posted
Hi,

We use DB2 9.7 adapter and using DB2 connect to the database.
But lately we continuous have TCP/IP error but do not know why.
Saw on the forum DB2 SQL ? command, I like to know what I'm getting back is this the WebFOCUS configuration or the configuration of DB2 Connect?
Does someone has an idea or suggestion

This is the result of SQL DB2 ? :

(FOC1702) ODBC SOURCE IS -: DBM0144
  (FOC1703) ODBC USER IS -: M857
  (FOC1704) ODBC TIMEOUT IS -: 15
  (FOC1707) ODBC ISOLATION IS -: RC
  (FOC1711) ODBC AUTODISCONNECT OPTION IS -: ON FIN
  (FOC1706) ODBC CONCUR IS -: RONLY
  (FOC1491) FETCH BUFFERING FACTOR - 100
  (FOC1531) INSERT BUFFERING FACTOR - 1
  (FOC1496) AUTODISCONNECT OPTION IS -: ON FIN
  (FOC1441) WRITE FUNCTIONALITY IS -: ON
  (FOC1445) OPTIMIZATION OPTION IS -: ON
  (FOC1763) IF-THEN-ELSE OPTIMIZATION IS -: ON
  (FOC1484) SQL ERROR MESSAGE TYPE IS -: DBMS
  (FOC1552) INTERFACE DEFAULT DATE TYPE -: NEW
  (FOC1446) DEFAULT dbspace IS -:

The error we get is (just testing the adapter) :

(FOC1394) CONNECT FAILURE
(FOC1400) SQLCODE IS -30081 (HEX: FFFF8A7F)
: [08001] [IBM][CLI Driver] SQL30081N A communication error has been dete
: cted. Communication protocol being used: "TCP/IP". Communication API be
: ing used: "SOCKETS". Location where the error was detected: "10.1.8.144
: ". Communication function detecting the error: "selectForRecvTimeout".
: Protocol specific error code(s): "0", "*", "*". SQLSTATE=08001
(FOC1405) SQL PREPARE ERROR.
(FOC1394) CONNECT FAILURE
(FOC1400) SQLCODE IS -30081 (HEX: FFFF8A7F)
: [08001] [IBM][CLI Driver] SQL30081N A communication error has been dete
: cted. Communication protocol being used: "TCP/IP". Communication API be
: ing used: "SOCKETS". Location where the error was detected: "10.1.8.144
: ". Communication function detecting the error: "selectForRecvTimeout".
: Protocol specific error code(s): "0", "*", "*". SQLSTATE=08001
(FOC1405) SQL PREPARE ERROR.


Thanks,

Mark

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 103 | Registered: March 18, 2008Reply With QuoteReport This Post
Member
posted Hide Post
Go to the Control Center in DB2 Connect and click on the plus sign next to the target system, then the instance, then the database. Then click on the tables icon. Put in the same user and password that your IBI connection setting is using and see if it returns the list of tables in DB2. If not, it should return an error that you can evaluate to determine why you are getting a time out.


WF 7.7.02
iSeries/Windows
 
Posts: 8 | Registered: December 02, 2011Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Hi drbrown,

Thanks for your reaction. We installed a small version of DB2 connection, so I can't show the tables. But the weird thing is that mostly the connection works fine.
I like to exclude that there's something wrong with the WF adapter, but I don't know how.

Kind regards

Mark
 
Posts: 103 | Registered: March 18, 2008Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Hi Mark,

I found your post of 2014 with same error message I frequently get:

: [08001] [IBM][CLI Driver] SQL30081N A communication error has been dete
: cted. Communication protocol being used: "TCP/IP". Communication API be
: ing used: "SOCKETS". Location where the error was detected: "10.1.8.144
: ". Communication function detecting the error: "selectForRecvTimeout".
: Protocol specific error code(s): "0", "*", "*". SQLSTATE=08001

Your post is indicated as [CLOSED], but I do not see any conclusion/resolution on what caused this error and how you solved it.

Do you still remember, and can you share with me?

I can normally access the data by retrieving sample data through the synonym, but sometimes it happens I get this error message.

Or maybe someone else recognizes this error message.

Martin.


WebFocus 8203M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
 
Posts: 154 | Registered: March 29, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Using SQL DB2 ?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.