ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQGet in a transaction

Post new topic  Reply to topic
 MQGet in a transaction « View previous topic :: View next topic » 
Author Message
PEPERO
PostPosted: Sat Sep 15, 2012 8:37 am    Post subject: MQGet in a transaction Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Sat Sep 15, 2012 11:56 am    Post subject: Re: MQGet in a transaction Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Sat Sep 15, 2012 12:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
PEPERO
PostPosted: Sun Sep 23, 2012 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Sun Sep 23, 2012 1:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQGet in a transaction
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.