If your MQPUT is due to a message you have retrieved with the MQCB, then you can go the MQPUT inside the call-back function. If however, you need to do unrelated MQPUTs outside of the callback function, then you must suspend the MQCB as you have discovered. This is because when you issue MQCTL(start) you give up the hConn for use by the callbacks, so you cannot use it for anything else.
If you don't want to suspend and resume the callback, then the alternative option is to have two hConns.
- Morag Hughson 110000EQPN
We created two connections using MQCNO_HANDLE_SHARE_BLOCK as connection options. Once again thanks a lot,