IBM MQ reason code list


The reason code parameter (Reason) is a qualification to the completion code parameter (CompCode).

IBM MQ reason code list 官方鏈接地址:https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q040710_.htm

If there is no special reason to report, MQRC_NONE is returned. A successful call returns MQCC_OK and MQRC_NONE.

If the completion code is either MQCC_WARNING or MQCC_FAILED, the queue manager always reports a qualifying reason; details are given under each call description.

Where user exit routines set completion codes and reasons, they should adhere to these rules. In addition, any special reason values defined by user exits should be less than zero, to ensure that they do not conflict with values defined by the queue manager. Exits can set reasons already defined by the queue manager, where these are appropriate.

Reason codes also occur in:
  • The Reason field of the MQDLH structure
  • The Feedback field of the MQMD structure
The following is a list of reason codes, in numeric order, providing detailed information to help you understand them, including:
  • An explanation of the circumstances that have caused the code to be raised
  • The associated completion code
  • Suggested programmer actions in response to the code


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM