Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

2538

MQRC_HOST_NOT_AVAILABLE (X'09EA')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

An MQCONN from a client failed because a conversation with the remote system could not be allocated, for example no listener, wrong connection name, network down or firewall.

QUICK ANSWER

An MQCONN from a client failed because a conversation with the remote system could not be allocated, for example no listener, wrong connection name, network down or firewall.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The listener has not been started on the remote system.
  2. The connection name in the client channel definition is incorrect.
  3. The network is currently unavailable.
  4. A firewall blocks the port or protocol-specific traffic.
  5. A security exit on the SVRCONN channel at the server blocks the call that initializes the MQ client.

CHECKED 14 Nov 2026 IBM: 2538 (09EA) (RC2538): MQRC_HOST_NOT_AVAILABLE - IBM MQ 10.0.x

MOST LIKELY

The listener has not been started on the remote system.

FIRST CHECK

Examine the client error log for messages explaining the cause.

TRY IT ▸

Site search

What it means

The client could not allocate a conversation to the remote system. IBM lists common causes and says to examine the client error log; the completion code is MQCC_FAILED.

Typical causes

  • The listener has not been started on the remote system.
  • The connection name in the client channel definition is incorrect.
  • The network is currently unavailable.
  • A firewall blocks the port or protocol-specific traffic.
  • A security exit on the SVRCONN channel at the server blocks the call that initializes the MQ client.

How to fix it

  1. Examine the client error log for messages explaining the cause.
  2. Check the listener is started on the remote system and the connection name in the client channel definition is right.
  3. Check the firewall, including the internal Linux firewall on a Linux server (IBM suggests temporarily turning it off to diagnose).

Example

Illustrative only; names and values are invented.

MQCONN failed  CompCode=2  Reason=2538  ConnName=mqhost01(1414)