+

Search Tips | Advanced Search

2037 (07F5) (RC2037): MQRC_NOT_OPEN_FOR_INPUT


Explanation

An MQGET call was issued to retrieve a message from a queue, but the queue had not been opened for input.


Completion code

MQCC_FAILED


Programmer response

Specify one of the following when the queue is opened:

  • MQOO_INPUT_SHARED
  • MQOO_INPUT_EXCLUSIVE
  • MQOO_INPUT_AS_Q_DEF

Parent topic: API reason codes

Last updated: 2020-10-04