Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpretation of IBM MQ error codes in error messages #110

Open
alexander-milovidov opened this issue Apr 22, 2021 · 0 comments
Open

Interpretation of IBM MQ error codes in error messages #110

alexander-milovidov opened this issue Apr 22, 2021 · 0 comments
Labels
kind/enhancement New feature or request qm/ibm_mq

Comments

@alexander-milovidov
Copy link

Specifications

  • JMSToolBox version: 5.10.0
  • OS: Microsoft Windows [Version 10.0.17763.1817] 64-bit
  • Q provider (kind, version) : IBM MQ 9.1

Expected Behavior

Error messages like MQRC nnnn (reason codes) can be interpreted - for example, MQRC 2035 = MQRC_NOT_AUTHORIZED, MQRC 2058 = MQRC_Q_MGR_NAME_ERROR. It makes error messages more readable (even without a readable detailed description, which is also could be useful).

Actual Behavior

Error messages contain only MQ return code (reason) and difficult to understand for people who are not experienced in IBM MQ.
image

Steps to Reproduce the Problem

  1. Connect to IBM MQ manager with incorrect QM name specified in connection properties. Error message is: com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2058'.
    MQJE001: Completion Code '2', Reason '2058'.

  2. Connect to IBM MQ with incorrect username/password or user with no rights. Error message is: com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2035'.

@titou10titou10 titou10titou10 added kind/enhancement New feature or request qm/ibm_mq labels Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request qm/ibm_mq
Projects
None yet
Development

No branches or pull requests

2 participants