The object was already opened by this or another application with options that conflict with those on this MQOPEN. The call fails with completion code MQCC_FAILED.
Typical causes
Shared input is requested but the object is already open for exclusive input.
Exclusive input is requested but the object is already open for input of any sort.
Receiver-channel MCAs or the intra-group queuing agent keep the destination queue open even when no messages flow.
The queue definition says NOSHARE, which makes the input handle exclusive whatever the application asks; this is the default on z/OS.
On z/OS, the object is in the process of being deleted.
How to fix it
Use the MQSC command DISPLAY QSTATUS to find who has the queue open.
Check the queue's SHARE/NOSHARE setting and the open options (MQOO_INPUT_SHARED, or MQOO_INPUT_AS_Q_DEF with DEFSOPT).
Design the application to wait and retry, or take other action, as your system design specifies.