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 > Two Phase Commit in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-31-07, 17:03
srisru srisru is offline
Registered User
 
Join Date: Jul 2007
Posts: 1
Question Two Phase Commit in DB2

We are writing a trigger on update of DB2 table which will CALL stored procedure and pass values from the table to stored procedure and the stored procedure will process the data and update IMS using AERTDLI call.

Problems we are facing
When one record is updated and then commit it works fine, If we do more than 1 update then commit unit of work the update to first record is successful in IMS but when stored procedure is called for updating second record the whole unit of work hangs which is causing lingering thread.

If we can find out how to avoid multiple threads for each updates in IMS and make sure we have only one thread for multiple updates which will resolve this issue.
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