Reason (MQLONG) - output

The reason code qualifying CompCode.

If CompCode is MQCC_OK:

MQRC_NONE
(0, X'000') No reason to report.

If CompCode is MQCC_WARNING:

MQRC_INCOMPLETE_GROUP
(2241, X'8C1') Message group not complete.
MQRC_INCOMPLETE_MSG
(2242, X'8C2') Logical message not complete.
MQRC_INCONSISTENT_PERSISTENCE
(2185, X'889') Inconsistent persistence specification.
MQRC_INCONSISTENT_UOW
(2245, X'8C5') Inconsistent unit-of-work specification.
MQRC_MULTIPLE_REASONS
(2136, X'858') Multiple reason codes returned.
MQRC_PRIORITY_EXCEEDS_MAXIMUM
(2049, X'801') Message Priority exceeds maximum value supported.
MQRC_UNKNOWN_REPORT_OPTION
(2104, X'838') Report option(s) in message descriptor not recognized.

If CompCode is MQCC_FAILED:

MQRC_ADAPTER_NOT_AVAILABLE
(2204, X'89C') Adapter not available.
MQRC_ADAPTER_SERV_LOAD_ERROR
(2130, X'852') Unable to load adapter service module.
MQRC_API_EXIT_ERROR
(2374, X'946') API exit failed.
MQRC_API_EXIT_LOAD_ERROR
(2183, X'887') Unable to load API exit.
MQRC_ASID_MISMATCH
(2157, X'86D') Primary and home ASIDs differ.
MQRC_BACKED_OUT
(2003, X'7D3') Unit of work backed out.
MQRC_BUFFER_ERROR
(2004, X'7D4') Buffer parameter not valid.
MQRC_BUFFER_LENGTH_ERROR
(2005, X'7D5') Buffer length parameter not valid.
MQRC_CALL_IN_PROGRESS
(2219, X'8AB') MQI call entered before previous call complete.
MQRC_CF_STRUC_FAILED
(2373, X'945') Coupling-facility structure failed.
MQRC_CF_STRUC_IN_USE
(2346, X'92A') Coupling-facility structure in use.
MQRC_CFGR_ERROR
(2416, X'970') PCF group parameter structure MQCFGR in the message data is not valid.
MQRC_CFH_ERROR
(2235, X'8BB') PCF header structure not valid.
MQRC_CFIF_ERROR
(2414, X'96E') PCF integer filter parameter structure in the message data is not valid.
MQRC_CFIL_ERROR
(2236, X'8BC') PCF integer list parameter structure or PCIF*64 integer list parameter structure not valid.
MQRC_CFIN_ERROR
(2237, X'8BD') PCF integer parameter structure or PCIF*64 integer parameter structure not valid.
MQRC_CFSF_ERROR
(2415, X'96F') PCF string filter parameter structure in the message data is not valid.
MQRC_CFSL_ERROR
(2238, X'8BE') PCF string list parameter structure not valid.
MQRC_CFST_ERROR
(2239, X'8BF') PCF string parameter structure not valid.
MQRC_CICS_WAIT_FAILED
(2140, X'85C') Wait request rejected by CICS(R).
MQRC_CLUSTER_EXIT_ERROR
(2266, X'8DA') Cluster workload exit failed.
MQRC_CLUSTER_RESOLUTION_ERROR
(2189, X'88D') Cluster name resolution failed.
MQRC_CLUSTER_RESOURCE_ERROR
(2269, X'8DD') Cluster resource error.
MQRC_COD_NOT_VALID_FOR_XCF_Q
(2106, X'83A') COD report option not valid for XCF queue.
MQRC_CONNECTION_BROKEN
(2009, X'7D9') Connection to queue manager lost.
MQRC_CONNECTION_NOT_AUTHORIZED
(2217, X'8A9') Not authorized for connection.
MQRC_CONNECTION_QUIESCING
(2202, X'89A') Connection quiescing.
MQRC_CONNECTION_STOPPING
(2203, X'89B') Connection shutting down.
MQRC_CONTEXT_HANDLE_ERROR
(2097, X'831') Queue handle referred to does not save context.
MQRC_CONTEXT_NOT_AVAILABLE
(2098, X'832') Context not available for queue handle referred to.
MQRC_DATA_LENGTH_ERROR
(2010, X'7DA') Data length parameter not valid.
MQRC_DH_ERROR
(2135, X'857') Distribution header structure not valid.
MQRC_DLH_ERROR
(2141, X'85D') Dead letter header structure not valid.
MQRC_EPH_ERROR
(2420, X'974') Embedded PCF structure not valid.
MQRC_EXPIRY_ERROR
(2013, X'7DD') Expiry time not valid.
MQRC_FEEDBACK_ERROR
(2014, X'7DE') Feedback code not valid.
MQRC_GLOBAL_UOW_CONFLICT
(2351, X'92F') Global units of work conflict.
MQRC_GROUP_ID_ERROR
(2258, X'8D2') Group identifier not valid.
MQRC_HANDLE_IN_USE_FOR_UOW
(2353, X'931') Handle in use for global unit of work.
MQRC_HCONN_ERROR
(2018, X'7E2') Connection handle not valid.
MQRC_HEADER_ERROR
(2142, X'85E') MQ header structure not valid.
MQRC_HOBJ_ERROR
(2019, X'7E3') Object handle not valid.
MQRC_IIH_ERROR
(2148, X'864') IMS(TM) information header structure not valid.
MQRC_INCOMPLETE_GROUP
(2241, X'8C1') Message group not complete.
MQRC_INCOMPLETE_MSG
(2242, X'8C2') Logical message not complete.
MQRC_INCONSISTENT_PERSISTENCE
(2185, X'889') Inconsistent persistence specification.
MQRC_INCONSISTENT_UOW
(2245, X'8C5') Inconsistent unit-of-work specification.
MQRC_LOCAL_UOW_CONFLICT
(2352, X'930') Global unit of work conflicts with local unit of work.
MQRC_MD_ERROR
(2026, X'7EA') Message descriptor not valid.
MQRC_MDE_ERROR
(2248, X'8C8') Message descriptor extension not valid.
MQRC_MISSING_REPLY_TO_Q
(2027, X'7EB') Missing reply-to queue.
MQRC_MISSING_WIH
(2332, X'91C') Message data does not begin with MQWIH.
MQRC_MSG_FLAGS_ERROR
(2249, X'8C9') Message flags not valid.
MQRC_MSG_SEQ_NUMBER_ERROR
(2250, X'8CA') Message sequence number not valid.
MQRC_MSG_TOO_BIG_FOR_Q
(2030, X'7EE') Message length greater than maximum for queue.
MQRC_MSG_TOO_BIG_FOR_Q_MGR
(2031, X'7EF') Message length greater than maximum for queue manager.
MQRC_MSG_TYPE_ERROR
(2029, X'7ED') Message type in message descriptor not valid.
MQRC_MULTIPLE_REASONS
(2136, X'858') Multiple reason codes returned.
MQRC_NO_DESTINATIONS_AVAILABLE
(2270, X'8DE') No destination queues available.
MQRC_NOT_OPEN_FOR_OUTPUT
(2039, X'7F7') Queue not open for output.
MQRC_NOT_OPEN_FOR_PASS_ALL
(2093, X'82D') Queue not open for pass all context.
MQRC_NOT_OPEN_FOR_PASS_IDENT
(2094, X'82E') Queue not open for pass identity context.
MQRC_NOT_OPEN_FOR_SET_ALL
(2095, X'82F') Queue not open for set all context.
MQRC_NOT_OPEN_FOR_SET_IDENT
(2096, X'830') Queue not open for set identity context.
MQRC_OBJECT_CHANGED
(2041, X'7F9') Object definition changed since opened.
MQRC_OBJECT_DAMAGED
(2101, X'835') Object damaged.
MQRC_OFFSET_ERROR
(2251, X'8CB') Message segment offset not valid.
MQRC_OPEN_FAILED
(2137, X'859') Object not opened successfully.
MQRC_OPTIONS_ERROR
(2046, X'7FE') Options not valid or not consistent.
MQRC_ORIGINAL_LENGTH_ERROR
(2252, X'8CC') Original length not valid.
MQRC_PAGESET_ERROR
(2193, X'891') Error accessing page-set data set.
MQRC_PAGESET_FULL
(2192, X'890') External storage medium is full.
MQRC_PCF_ERROR
(2149, X'865') PCF structures not valid.
MQRC_PERSISTENCE_ERROR
(2047, X'7FF') Persistence not valid.
MQRC_PERSISTENT_NOT_ALLOWED
(2048, X'800') Queue does not support persistent messages.
MQRC_PMO_ERROR
(2173, X'87D') Put-message options structure not valid.
MQRC_PMO_RECORD_FLAGS_ERROR
(2158, X'86E') Put message record flags not valid.
MQRC_PRIORITY_ERROR
(2050, X'802') Message priority not valid.
MQRC_PUT_INHIBITED
(2051, X'803') Put calls inhibited for the queue.
MQRC_PUT_MSG_RECORDS_ERROR
(2159, X'86F') Put message records not valid.
MQRC_Q_DELETED
(2052, X'804') Queue has been deleted.
MQRC_Q_FULL
(2053, X'805') Queue already contains maximum number of messages.
MQRC_Q_MGR_NAME_ERROR
(2058, X'80A') Queue manager name not valid or not known.
MQRC_Q_MGR_NOT_AVAILABLE
(2059, X'80B') Queue manager not available for connection.
MQRC_Q_MGR_QUIESCING
(2161, X'871') Queue manager quiescing.
MQRC_Q_MGR_STOPPING
(2162, X'872') Queue manager shutting down.
MQRC_Q_SPACE_NOT_AVAILABLE
(2056, X'808') No space available on disk for queue.
MQRC_RECS_PRESENT_ERROR
(2154, X'86A') Number of records present not valid.
MQRC_REPORT_OPTIONS_ERROR
(2061, X'80D') Report options in message descriptor not valid.
MQRC_RESOURCE_PROBLEM
(2102, X'836') Insufficient system resources available.
MQRC_RESPONSE_RECORDS_ERROR
(2156, X'86C') Response records not valid.
MQRC_RFH_ERROR
(2334, X'91E') MQRFH or MQRFH2 structure not valid.
MQRC_RMH_ERROR
(2220, X'8AC') Reference message header structure not valid.
MQRC_SEGMENT_LENGTH_ZERO
(2253, X'8CD') Length of data in message segment is zero.
MQRC_SEGMENTS_NOT_SUPPORTED
(2365, X'93D') Segments not supported.
MQRC_STOPPED_BY_CLUSTER_EXIT
(2188, X'88C') Call rejected by cluster workload exit.
MQRC_STORAGE_CLASS_ERROR
(2105, X'839') Storage class error.
MQRC_STORAGE_MEDIUM_FULL
(2192, X'890') External storage medium is full.
MQRC_STORAGE_NOT_AVAILABLE
(2071, X'817') Insufficient storage available.
MQRC_SUPPRESSED_BY_EXIT
(2109, X'83D') Call suppressed by exit program.
MQRC_SYNCPOINT_LIMIT_REACHED
(2024, X'7E8') No more messages can be handled within current unit of work.
MQRC_SYNCPOINT_NOT_AVAILABLE
(2072, X'818') Syncpoint support not available.
MQRC_TM_ERROR
(2265, X'8D9') Trigger message structure not valid.
MQRC_TMC_ERROR
(2191, X'88F') Character trigger message structure not valid.
MQRC_UNEXPECTED_ERROR
(2195, X'893') Unexpected error occurred.
MQRC_UOW_ENLISTMENT_ERROR
(2354, X'932') Enlistment in global unit of work failed.
MQRC_UOW_MIX_NOT_SUPPORTED
(2355, X'933') Mixture of unit-of-work calls not supported.
MQRC_UOW_NOT_AVAILABLE
(2255, X'8CF') Unit of work not available for the queue manager to use.
MQRC_WIH_ERROR
(2333, X'91D') MQWIH structure not valid.
MQRC_WRONG_MD_VERSION
(2257, X'8D1') Wrong version of MQMD supplied.
MQRC_XQH_ERROR
(2260, X'8D4') Transmission queue header structure not valid.

For detailed information on these codes, see: