MainframeMaster

IBM MQ reason code (MQRC) lookup

Paste a reason code or symbolic name. You get the IBM meaning, common causes, and a short recovery checklist. The dictionary focuses on codes shops actually hit: 2085, 2035, 2059, 2009, 2053, plus channel and TLS failures.

How to use it

  1. Type the Reason from your log. Examples: 2085, 0x825, or MQRC_NOT_AUTHORIZED.
  2. Or search words like queue full, CHLAUTH, or AMQ9520.
  3. Use the checklist, then open related codes or the deep-dive tutorial when one is linked.

IBM MQ reason code (MQRC) lookup

Type a reason code or pick one from the list to see the IBM meaning, causes, and checklist.

Need this at work?

Free account saves tutorial progress. The jobs board lists openings that ask for JCL.

IBM MQ jobs on the board

How CompCode and Reason work

Successful calls return CompCode 0 with Reason 0 (MQRC_NONE). Failures usually return CompCode 2 with a specific MQRC. Warnings use CompCode 1 (truncated message accepted is a common one). Log the API name, object name, queue manager, and channel if remote. Do not stop at the exception message text.

text
1
2
3
4
5
6
7
8
Application log template: API=MQOPEN QM=QM1 Object=ORDERS.IN CompCode=2 Reason=2085 (MQRC_UNKNOWN_OBJECT_NAME) Operator correlation: dspmq -m QM1 DISPLAY QLOCAL('ORDERS.IN') grep 2085 /var/mqm/qmgrs/QM1/errors/AMQERR01.LOG

Quick distinctions

  • 2059 vs 2009: cannot connect / QM unavailable vs connection lost after it was up
  • 2085 vs 2035: unknown name vs name exists but not authorized
  • 2033 vs 2053: no message to get vs cannot put because the queue is full
  • 2538 vs 2540: host/port/listener unreachable vs channel name not defined on the QM

Explain it like I'm 5

When your program talks to IBM MQ, MQ leaves a number sticky note. "0" means all good. "2085" means there is no mailbox with that name. "2035" means the mailbox is there but you cannot open it. "2053" means the mailbox is stuffed full. Read the note before you try again.

Codes in this tool

109 reason codes from the IBM MQ MQRC tables, with causes written for the codes that show up most in tickets and search.

0200120022003200420052009201020112012201620172018201920242025202620272029203020312033203420352036203720382039204020412042204320452046204720482050205120522053205520562057205820592063207120722079208020822085208620872091209221002101210221102119212021612162218421862189219221952196220222032217221822192268227022732278228423342340234223452362237123922393239723982400242524282429243225032531253725382540254425452548255225682577258425952600

Related Pages

FAQ

Sources

Constant names and numbers follow IBM MQ 9.4 MQRC_* documentation. Explanations paraphrase IBM API completion and reason code topics (2009, 2033, 2035, 2053, 2085, 2278, 2393, and others). Causes also pull from common AMQERR and forum patterns: listener down maps to 2538, CHLAUTH block to 2577, channel not defined remotely to 2540 / AMQ9520E. Confirm against your installed MQ release when you need a formal citation.