IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Deadlock / Timout Error
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Platinum Member
Posted
We are setup using DB2 connect to connect to our AS400 and whenever I try and query a file that has a record lock on a file it gives a deadlock/timeout error.

I assume that I can change it to use SQL and issue a FETCH ONLY command but is there a way to do the same using TABLE FILE syntax?

Or is there something I can change in the DB2 connect software to issue only fetch only commands?

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.1.6 w/IIS + Tomcat
 
Posts: 151 | Location: Chicago, IL | Registered: February 24, 2006Reply With QuoteEdit or Delete MessageReport This Post
Silver Member
Posted Hide Post
Have you tried the SET ISOLATION command

http://techsupport.informationbuilders.com/sps/92091020.html

M
 
Posts: 33 | Location: New York, USA | Registered: August 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Look promising, I was looking through their techsupport for almost an hour and didn't see that.

I'll give it a try and post back, thanks!


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.1.6 w/IIS + Tomcat
 
Posts: 151 | Location: Chicago, IL | Registered: February 24, 2006Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Should be able to configure the adapter in the web console to either RC (Read committed) or RU (Read uncomitted). As Mickey mentioned, this should take care of the problem.

Another option (the longer way around) is to write SQL queries where you can add the FOR FETCH ONLY and use SQL passthru.


Regards,

Darin



WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java
Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K
WF Client: Linux w/WebSphere, Servlet, CGI
 
Posts: 1323 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Deadlock / Timout Error

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