Reason codes returned from publish/subscribe messages

The following reason codes can be returned by a broker in response to any command message in PCF format. They are described in WebSphere MQ Programmable Command Formats and Administration Interface.

MQRCCF_CFH_COMMAND_ERROR
Command identifier not valid.
MQRCCF_CFH_CONTROL_ERROR
Control option not valid.
MQRCCF_CFH_LENGTH_ERROR
Structure length not valid.
MQRCCF_CFH_MSG_SEQ_NUMBER_ERROR
Message sequence number not valid.
MQRCCF_CFH_PARM_COUNT_ERROR
Parameter count not valid.
MQRCCF_CFH_TYPE_ERROR
Type not valid.
MQRCCF_CFH_VERSION_ERROR
Structure version number not valid.
MQRCCF_CFIN_DUPLICATE_PARM
Duplicate MQCFIN parameter.
MQRCCF_CFIN_LENGTH_ERROR
MQCFIN structure length not valid.
MQRCCF_CFIN_PARM_ID_ERROR
Parameter identifier not valid.
MQRCCF_CFST_DUPLICATE_PARM
Duplicate MQCFST parameter.
MQRCCF_CFST_LENGTH_ERROR
MQCFST structure length not valid.
MQRCCF_CFST_PARM_ID_ERROR
Parameter identifier not valid.
MQRCCF_CFST_STRING_LENGTH_ERR
MQCFST string length not valid.
MQRCCF_COMMAND_FAILED
Command failed.
MQRCCF_ENCODING_ERROR
Encoding error.
MQRCCF_INCORRECT_Q
Command sent to wrong broker queue.
MQRCCF_MD_FORMAT_ERROR
Format not valid.
MQRCCF_MSG_LENGTH_ERROR
Message length not valid.
MQRCCF_PARM_COUNT_TOO_SMALL
Mandatory parameter for command missing.
MQRCCF_STRUCTURE_TYPE_ERROR
Structure type invalid.

The following reason codes might be returned by a broker in response to a command message in PCF format, depending on the parameters used in that message. They are described in WebSphere MQ Messages.

MQRCCF_CORREL_ID_ERROR
Correlation identifier used as part of identity but is all binary zero.
MQRCCF_DEL_OPTIONS_ERROR
Invalid delete options supplied.
MQRCCF_DUPLICATE_IDENTITY
Publisher or subscriber identity already assigned to another user ID.
MQRCCF_INCORRECT_STREAM
Stream name different from queue name.
MQRCCF_NO_RETAINED_MSG
No retained message exists for this topic.
MQRCCF_NOT_AUTHORIZED
Subscriber not authorized to browse broker's stream queue or subscriber queue.
MQRCCF_NOT_REGISTERED
Publisher or subscriber not registered.
MQRCCF_PUB_OPTIONS_ERROR
Invalid publication options supplied.
MQRCCF_Q_MGR_NAME_ERROR
Queue manager name invalid.
MQRCCF_Q_NAME_ERROR
Queue name invalid.
MQRCCF_REG_OPTIONS_ERROR
Invalid registration options supplied.
MQRCCF_STREAM_ERROR
Stream name too long or contains invalid characters.
MQRCCF_TOPIC_ERROR
Topic name has an invalid length or contains invalid characters.
MQRCCF_UNKNOWN_STREAM
Stream not defined to broker and cannot be created.