MQ Error Codes

This article describes the return codes and reason codes that are unique to the MQ Adapter. Refer to the IBM MQ documentation for all other return and reason codes.
idmscu19
This article describes the return codes and reason codes that are unique to the MQ Adapter. Refer to the IBM MQ documentation for all other return and reason codes.
The name shown in the following table is the EQUate symbol generated by the IDMSQRNA macro.
Name
Reason Code
Description
MQIRC_INVPL
13000
Invalid #MQI parameter list
MQIRC_INVFUNC
13001
Invalid #MQI Function
MQIRC_SMQTABMISSING
13002
SMQ table missing
MQIRC_MQDISABLED
13003
SMQ Environment disabled
MQIRC_MQQUIESCING
13004
SMQ Environment quiescing
MQIRC_RNOINQNM
13005
Invalid QNAME parameter
MQIRC_RNOINHCO
13006
Invalid Q Handle parameter
MQIRC_RNOBADF
13007
Queue Handle not in user's table
MQIRC_RNOPINL
13008
Plugin module not loaded
MQIRC_RNOFRSVD
13009
Function reserved for the system
MQIRC_RNOSYSP1
13010
ASYNCECB and HANDLE are system parms
MQIRC_RNONOLTE
13011
No LTE available from current TCE
MQIRC_RNOUSTNE
13012
UMQTAB does not exist
MQIRC_RNOUSTCA
13013
UMQTAB cannot be allocated
MQIRC_RNOSLRCY
13014
MQ has been recycled
MQIRC_RNOINMQO
13015
Invalid MQOD parameter
MQIRC_RNOINOPT
13016
Invalid OPTIONS parameter
MQIRC_RNOINHOB
13017
Invalid HOBJ parameter
MQIRC_RNOINMQM
13018
Invalid MQMD parameter
MQIRC_RNOINBFL
13019
Invalid BUFFLEN parameter
MQIRC_RNOINBUF
13020
Invalid BUFFER parameter
MQIRC_ALOCSMQTAB
13021
SMQTAB cannot be allocated
MQIRC_RNOINDATAL
13022
Invalid DATALENGTH parameter
MQIRC_CONNECTFAIL
13023
Internal MQCONN failed
MQIRC_NOOPENOBJECT
13024
Open Object not found
MQIRC_NOAVAILSUBT
13025
No available subtask
MQIRC_NOSUBTASKCONN
13026
No subtask connection
MQIRC_INVSELCOUNT 
13027
Invalid SELECTORCOUNT parameter
MQIRC_INVSELECTOR 
13028
Invalid SELECTORS parameter
MQIRC_INVINTATTRC 
13029
Invalid INTATTRCOUNT parameter
MQIRC_INVINTATTRS 
13030
Invalid INTATTRS parameter
MQIRC_INVCHATTRL   
13031
Invalid CHARATTRLENGTH parameter
MQIRC_INVCHATTRS   
13032
Invalid CHARATTRS parameter
MQIRC_INVMSGDESC
13033
Invalid MSGDESC parameter
MQIRC_INVPUTMSGOPTS
13034
Invalid PUTMSGOPTS parameter
MQIRC_INVBUFFERL
13035
Invalid BUFFERLENGTH parameter
MQIRC_INVBUFFER 
13036
Invalid BUFFER parameter
MQIRC_INVGETMSGOPTS
13037
Invalid GETMSGOPTS parameter 
MQIRC_INVOBJDESC
13038
Invalid OBJDESC parameter
MQIRC_INVSTATTYP
13039
Invalid MQSTAT Type parameter
MQIRC_INVSTATSTS
13040
Invalid MQSTS Status Information Structure
MQIRC_NO_SESSION
13041
No session established