If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Resume transaction after comm link failure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-08, 01:13
mov mov is offline
Registered User
 
Join Date: Apr 2008
Posts: 3
Resume transaction after comm link failure

Is there a way on DB2 (on AS400) to resume a transaction after a comm link failure?
Our .net client has code where we are doing multiple insert/update/delete before committing. The problem we are facing is that the if the connection fails between two of these calls, the rows get locked and there is no way for us release them until the 2 hrs timeout. We can't find a way to reestablish the same connection either.
Reply With Quote
  #2 (permalink)  
Old 04-16-08, 13:23
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
No, once the comm link is broken, it is basically dead for use. How long is the transaction?

Andy
Reply With Quote
  #3 (permalink)  
Old 04-17-08, 02:40
mov mov is offline
Registered User
 
Join Date: Apr 2008
Posts: 3
The transaction is very short. Not more than 10 records are handled at one time.
But the handheld and wireless connection are both very unreliable which means the connection can be cut anytime.
Reply With Quote
  #4 (permalink)  
Old 04-17-08, 07:57
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Your only alternative, as I see it, is to make the network more robust.

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On