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 » z/OS "fail-if-quiesce" option

Post new topic  Reply to topic
 z/OS "fail-if-quiesce" option « View previous topic :: View next topic » 
Author Message
mikiu
PostPosted: Mon May 16, 2011 6:04 am    Post subject: z/OS "fail-if-quiesce" option Reply with quote

Acolyte

Joined: 23 Jul 2002
Posts: 61
Location: toronto

Hello,

Do you (collective MQ wisdom "you") think that, although I use "fail-if-quiescing" on mqopen and mqget ... should I also use it on mqput and mqclose? IMO put and close have a slightly different slant and mq, I believe handles them differently.

Much obliged for your opinion,

M.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
PeterPotkay
PostPosted: Mon May 16, 2011 6:44 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

It's not an available option for the MQCLOSE.

For the MQPUT, what if the application opens the queue and then proceeds to do millions of puts? Do you want that app to hold up the quiesce of the queue manager? (maybe you do!)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mikiu
PostPosted: Mon May 16, 2011 6:52 am    Post subject: point taken Reply with quote

Acolyte

Joined: 23 Jul 2002
Posts: 61
Location: toronto

You got a point there, Peter ... thank you,
Miki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
gbaddeley
PostPosted: Mon May 16, 2011 3:55 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Moral of story = Always code MQxxx_FAIL_IF_QUIESCING on all MQI calls which allow Options (except MQCONN, MQCLOSE). The resulting ReasonCode of MQRC_Q_MGR_QUIESCING should be handled like any other unexpected ReasonCode (eg. clean up & terminate the app or go into a slow MQCONN loop).
_________________
Glenn
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Wed May 18, 2011 12:19 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

It can make sense to not code the quiesce option if you are just MQPUTing a single reply message in response to a a MQGET (with quiesce).
There is little point in forcing your last transaction to go through backout.
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed May 18, 2011 2:23 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716



it should not be couded on every statements by default, but it should be used in the application at places where it is possible to stop the application processing. nobody is angry if an application needs 30 more seconds to finish during queuemanager shutdown because some work or batch or whatever is completed. its just angry if noting is coded and application stays up.

however, when we shut down MQ by system automation, we use "stop qmgr" first. After some minutes, if the qmgr did not shut down, we issue a "stop qmgr mode(force)". so if application do not honor the qmgr shutdown the connection gets terminated by mq and open UOWs are rolled back.
_________________
Regards, Butcher
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 » z/OS "fail-if-quiesce" option
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.