+

Search Tips | Advanced Search

2018 (07E2) (RC2018): MQRC_HCONN_ERROR


Explanation

The connection handle Hconn is not valid, for one of the following reasons:


Completion code

MQCC_FAILED


Programmer response

Ensure that a successful MQCONN or MQCONNX call is performed for the queue manager, and that an MQDISC call has not already been performed for it. Ensure that the handle is being used within its valid scope (see the description of MQCONN in MQCONN for more information about MQCONN).

Ensure the character conversion exit program run by your CICS TS 3.2 or higher application, which invokes the MQXCNVC call, is defined as OPENAPI. This definition prevents the 2018 MQRC_HCONN_ERROR error caused by from an incorrect connection, and allows the MQGET to complete.