2039 (07F7) (RC2039): MQRC_NOT_OPEN_FOR_OUTPUT
Explanation
An MQPUT call was issued to put a message on a queue, but the queue had not been opened for output.
Completion code
MQCC_FAILED
Programmer response
Specify MQOO_OUTPUT when the queue is opened.
Parent topic: API reason codes