IBM Support

MQOPEN fails with MQRC 2018 MQRC_HCONN_ERROR

Troubleshooting


Problem

Your application issues an MQOPEN which fails with an HCONN error MQRC 2018 MQRC_HCONN_ERROR. MQCONN is successful.

Symptom

MQRC_HCONN_ERROR MQRC HCONN ERROR MQRC2018 RC2018

Cause

The HCONN address is a 31-bit address, however, the application is passing a 24-bit HCONN.

Resolving The Problem

Correct the application to pass the HCONN back to WebSphere MQ as supplied.

[{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Application \/ API","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

25902;499;000

Product Synonym

WebSphere MQ WMQ

Document Information

Modified date:
15 June 2018

UID

swg21677508