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

2063

MQRC_SECURITY_ERROR (X'080F')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

An MQCONN, MQCONNX, MQOPEN, MQSUB, MQPUT1 or MQCLOSE call failed because a security error occurred, from the security manager, AMS, LDAP or token configuration.

QUICK ANSWER

An MQCONN, MQCONNX, MQOPEN, MQSUB, MQPUT1 or MQCLOSE call failed because a security error occurred, from the security manager, AMS, LDAP or token configuration.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. On z/OS, a JMS application in WebSphere Application Server or Liberty connected with BINDINGS and passed a user name or password longer than 8 characters.
  2. On z/OS, the External Security Manager returned the error.
  3. AMS is enabled and a security error occurred, for example no valid certificate on MQOPEN, or wrong certificates or policies on MQGET.
  4. With LDAP connection authentication, connectivity to the LDAP server failed or LDAP returned an error.
  5. A token supplied on MQCONNX meets a queue manager token configuration error.

CHECKED 14 Nov 2026 IBM: 2063 (080F) (RC2063): MQRC_SECURITY_ERROR - IBM MQ 10.0.x

MOST LIKELY

On z/OS, a JMS application in WebSphere Application Server or Liberty connected with BINDINGS and passed a user name or password longer than 8 characters.

FIRST CHECK

Note the error from the security manager and contact the system programmer or security administrator.

TRY IT ▸

Site search

What it means

A security error stopped the call; the completion code is MQCC_FAILED. IBM lists several sources, including the z/OS external security manager, Advanced Message Security (AMS) processing, LDAP connection authentication, and authentication token configuration.

Typical causes

  • On z/OS, a JMS application in WebSphere Application Server or Liberty connected with BINDINGS and passed a user name or password longer than 8 characters.
  • On z/OS, the External Security Manager returned the error.
  • AMS is enabled and a security error occurred, for example no valid certificate on MQOPEN, or wrong certificates or policies on MQGET.
  • With LDAP connection authentication, connectivity to the LDAP server failed or LDAP returned an error.
  • A token supplied on MQCONNX meets a queue manager token configuration error.

How to fix it

  1. Note the error from the security manager and contact the system programmer or security administrator.
  2. On z/OS, keep the user name to 8 characters at most and the password to 100 at most.
  3. For AMS, check the queue manager and AMS job logs, certificate validity, policy configuration and SYSTEM.PROTECTION.ERROR.QUEUE.
  4. For LDAP, use DISPLAY QMSTATUS to check the LDAP connection status and read the queue manager error logs.
  5. For tokens, read the queue manager error logs for the token authentication error code.

Example

Illustrative only; names and values are invented.

MQCONNX failed  CompCode=2  Reason=2063  QMgr=QM01