Hi Pete,

As you pointed out, MQ Reason Code 2202, MQRC_CONNECTION_QUIESCING  is valid on all platforms when there is a client/server set-up involving channels. On other scenarios,  2161 is the reason code that will be returned by MQ if you have set the FAIL_IF_QUIESCING option on the calls like open, put, get etc. This is an expected behaviour. However in the message catalogue, 2202 is mentioned to be valid only on z/os which needs to be clarified. We certainly need to take care of it in the error diagnosis part of our code written around MQ Clients.

MERRY CHRISTMAS TO YOU!

Kindest Regards,
Adi.
Websphere MQ, IBM.
   



"Potkay, Peter M (ISD, IT)" <[EMAIL PROTECTED]>
Sent by: MQSeries List <MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT>

12/24/2004 03:55 AM

Please respond to
MQSeries List

To
MQSERIES@LISTSERV.MEDUNIWIEN.AC.AT
cc
Subject
MQRC_CONNECTION_QUIESCING - Manual is wrong





 MQRC_CONNECTION_QUIESCING
This reason code is issued for CICS and IMS applications when the
connection to the queue  manager is in quiescing state, and an application
issues one of the following calls:
v MQCONN or MQCONNX on IMS (these calls do not return this reason code on
CICS, as  the calls cannot determine that the queue manager is shutting
down)
v MQOPEN, with no connection established, or with MQOO_FAIL_IF_QUIESCING
included  in the Options parameter
v MQGET, with MQGMO_FAIL_IF_QUIESCING included in the Options field of the
GetMsgOpts parameter  v MQPUT or MQPUT1, with MQPMO_FAIL_IF_QUIESCING
included in the Options field of  the PutMsgOpts parameter
MQRC_CONNECTION_QUIESCING is also issued by the message channel agent (MCA)
when the queue manager is in quiescing state.
This reason code occurs only on z/OS.
Corrective action: The application should tidy up and terminate.

But with my VB.NET MQClient app running on a Windows XP 5.3 CSD08 machine
connecting to a QM running on another Windows 5.3 CSD08 server, I can get a
2202 error when I bring down the QM using amqmdain, if I do not specify
FAIL_IF_QUIESCING on the MQGET. If I do specify that option, I get 2161 -
MQRC_QMGR_QUIESCING.

This reason code DOES occur on platforms other than z/OS, so make sure you
code for it in your app's error handling section, regardless of platform.

Someone from IBM might want to fix this in the manual......


> Peter Potkay
> MQSeries Specialist
> The Hartford Financial Services
> [EMAIL PROTECTED]
> x77906
> IBM MQSeries Certified
>


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Reply via email to