Please post your question on
www.MqSeries.net .
Reason code 2009 seems it returns (MQRC_CONNECTION_BROKEN)
viz, "Connection to queue manager lost."
This means this can occur because the queue manager has ended. If the call is an MQGET call with the MQGMO_WAIT option, the wait has been canceled
Actually, after the Queue Manager process has been ended, MQSeries API
applications which attempt to use a connection handle obtained
before the Queue Manager was ended will see RC2009 returned by
API calls (MQRC_CONNECTION_BROKEN). Note, this will also be
true when the Queue Manager has been restarted after it was
ended, and before the connection handle was used again.
Corrective action: Applications can attempt to reestablish connection by issuing the MQCONN call. It may be necessary to poll until a successful response is received