Posted: Mon Oct 25, 2004 4:16 am Post subject: Mixing global and local units of work on a QM?
Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
If we have one application using global units of work coordination between MQ and MTS (DTC) - is it possible to have another separate MQ application using local (MQ) transactions on the same queue manager?
I ask because XA enablement seems something that is configured at the system level - so how does a given application program opt in or out?
We have a MQ client program (in vb.net) that wants to use local UOW but seems to be getting caught up (and rejected) in a global transaction.
We are getting reason code 2354 on the MQPUT (with SYNCPOINT) and the same MQPUT works fine without syncpoint.
I suspect DTC is being used when it should not be - how can I control this in the application?
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
Eventhough the XA feature is configured at the system/queue maanger level, I think other programs using local UOW should not be affected by this.
Isn't the XA transaction started by making MQBEGIN call? So, if your program is not making that call, it should work in local UOW mode. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
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