|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQGet in a transaction |
« View previous topic :: View next topic » |
Author |
Message
|
PEPERO |
Posted: Sat Sep 15, 2012 8:37 am Post subject: MQGet in a transaction |
|
|
Disciple
Joined: 30 May 2011 Posts: 177
|
Hi all;
I'm using the CICS mQ brige facilities to call a cics program using DPL.
The message would be put into the Q1 which is a Bridge Q, The related program would be called and the result would be put into the ReplytoQ Q2 from which the requested client program would consum the message using MQGET call. The interesting phenomenoun is that the program would be executed (called bu the bridge) whenever the MQGet api times out. I mean it runs under a transaction since the syncpoint property of the MQPMO is not used. Any idea about this? |
|
Back to top |
|
 |
Vitor |
Posted: Sat Sep 15, 2012 11:56 am Post subject: Re: MQGet in a transaction |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PEPERO wrote: |
Any idea about this? |
Any idea about what? What about this is unexpected? Or unwanted? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Sep 15, 2012 12:09 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
If the MQGET with WAIT times out, the app will see the 2033 no-message-available, AND should know that whether or not there was a message the last time the MQGET was executed. If there was no previous message, the app itself can then call the routine you want executed? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
PEPERO |
Posted: Sun Sep 23, 2012 1:54 am Post subject: |
|
|
Disciple
Joined: 30 May 2011 Posts: 177
|
Despit of not specifying the MQPMO_SYNCPOINT option , it requires to specify MQPMO_NO_SYNCPOINT. When i add no_syncpoint option it has been coorected. |
|
Back to top |
|
 |
zpat |
Posted: Sun Sep 23, 2012 1:58 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
PEPERO wrote: |
Despit of not specifying the MQPMO_SYNCPOINT option , it requires to specify MQPMO_NO_SYNCPOINT. When i add no_syncpoint option it has been coorected. |
Mainframe default is syncpoint, distributed platforms the default is no syncpoint.
This is basic essential knowledge for mainframe users. RTM. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|