Posted: Mon Apr 28, 2003 7:44 am Post subject: MQ Problem- urgent please
Novice
Joined: 25 Apr 2003 Posts: 24
I have the following problem in MQseries.
I get a message from database table and write this message on a Queue. After writing to the Queue I need to update the database table with the record marked as Processed and this needs to be in a single transaction. If either one of them i.e. Writing to the Queue or updating the database record fails everything should be rolled back.
Can anyone tell me how to accomplish this using Sybase 12 & MQ5.3
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
There are a couple of programs at: http://www.developer.ibm.com/tech/sampmq.html that are based on MQ and DB2 (mqadhoc, mqdb2). You can probably look at them as a starting point. The System Admin manual has information on how to set up MQ for two-phase commit that would relevant to Sybase.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum