Mq Error Code 2079
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support
MQSeries.net Forum Index » IBM MQ API Support » Return Code=2079, when sending message from WIN MQSI to CICS Return Code=2079, when sending message from WIN MQSI to CICS « View previous topic :: View next topic » http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q041450_.htm Author Message PeteH Posted: Thu Aug 15, 2002 1:32 am Post subject: Return Code=2079, when sending message from WIN MQSI to CICS NewbieJoined: 14 Aug 2002Posts: 3Location: NL Hi, Im working on an MQ project where messages are send from Windows to OS/390 via MQSI and then picked up by the MQ CICS Bridge. The message arrives in http://www.mqseries.net/phpBB2/viewtopic.php?p=17523&sid=1edeb7c3996e27fb16d876662d70713f the queue being monitored by the CICS Bridge. The bridge then issues abend CKB5 and the message: CSQC710E CKBP 0000195 MQGET failed, MQCC=1, MQRC=2079 The error indicates that ----------------------------------------------------------------------------- MQRC_TRUNCATED_MSG_ACCEPTED Truncated message returned (processing completed). On an MQGET call, the message length was too large to fit into the supplied buffer. The MQGMO_ACCEPT_TRUNCATED_MSG option was specified, so the call completes. The message is removed from the queue (subject to unit-of-work considerations), or, if this was a browse operation, the browse cursor is advanced to this message. The DataLength parameter is set to the length of the message before truncation, the Buffer parameter contains as much of the message as fits, and the MQMD structure is filled in. ----------------------------------------------------------------------------------- The confusing part is that the message suggests that the supplied buffer is not big enough, but this is handled by the CICS BRIDGE code. I wonder if this problem has been seen before, I could not find any posts for a similar problem. Any help appreciated. Back to top mrlinux PosteMQ VERSION 7... Newsgroups: gmane.network.mq.devel Date: Tuesday 13th September 2011 15:27:05 UTC (over 5 years ago) Thanks Paul...I appreciate your help. Fred Oddo CICS / MQ Systems Architect http://permalink.gmane.org/gmane.network.mq.devel/13504 212 855 - 1162 Paul Clarke Sent by: MQSeries List 09/13/2011 10:15 AM Please respond to MQSeries List To [emailprotected].org cc Subject Re: 2079 in MQ VERSION 7... Hi, http://blog.robiii.nl/2012/01/websphere-mq-reason-codes.html Not sure exactly what you're trying but in the procedural API the MQGET call requires you pass a buffer for the message to be put in to. If the mq error buffer is not big enough and you say say 'accept truncated' then you get as much of the message as will fit. The buffer and buffer size is provided per MQGET call so there's no concept of a global tuning parameter. If you don't say 'accept truncate' then the message is left on the queue you're reading from and mq error code you get a different reason code. Cheers, P. Paul G Clarke WebSphere Messaging Clients Hursley Park Fred Oddo
InnerException is beyond me. This page can be used to look up "ReasonCodes" (which is all the LinkedException provides in XMS.NET). The links in this page all lead to the specific help-page. CodeCode (hex)ReasonCodeDescription 00000RC0MQRC_NONE 9000384RC900MQRC_APPL_FIRST 99903E7RC999MQRC_APPL_LAST 200107D1RC2001MQRC_ALIAS_BASE_Q_TYPE_ERROR 200207D2RC2002MQRC_ALREADY_CONNECTED 200307D3RC2003MQRC_BACKED_OUT 200407D4RC2004MQRC_BUFFER_ERROR 200507D5RC2005MQRC_BUFFER_LENGTH_ERROR 200607D6RC2006MQRC_CHAR_ATTR_LENGTH_ERROR 200707D7RC2007MQRC_CHAR_ATTRS_ERROR 200807D8RC2008MQRC_CHAR_ATTRS_TOO_SHORT 200907D9RC2009MQRC_CONNECTION_BROKEN 201007DARC2010MQRC_DATA_LENGTH_ERROR 201107DBRC2011MQRC_DYNAMIC_Q_NAME_ERROR 201207DCRC2012MQRC_ENVIRONMENT_ERROR 201307DDRC2013MQRC_EXPIRY_ERROR 201407DERC2014MQRC_FEEDBACK_ERROR 201607E0RC2016MQRC_GET_INHIBITED 201707E1RC2017MQRC_HANDLE_NOT_AVAILABLE 201807E2RC2018MQRC_HCONN_ERROR 201907E3RC2019MQRC_HOBJ_ERROR 202007E4RC2020MQRC_INHIBIT_VALUE_ERROR 202107E5RC2021MQRC_INT_ATTR_COUNT_ERROR 202207E6RC2022MQRC_INT_ATTR_COUNT_TOO_SMALL 202307E7RC2023MQRC_INT_ATTRS_ARRAY_ERROR 202407E8RC2024MQRC_SYNCPOINT_LIMIT_REACHED 202507E9RC2025MQRC_MAX_CONNS_LIMIT_REACHED 202607EARC2026MQRC_MD_ERROR 202707EBRC2027MQRC_MISSING_REPLY_TO_Q 202907EDRC2029MQRC_MSG_TYPE_ERROR 203007EERC2030MQRC_MSG_TOO_BIG_FOR_Q 203107EFRC2031MQRC_MSG_TOO_BIG_FOR_Q_MGR 203307F1RC2033MQRC_NO_MSG_AVAILABLE 203407F2RC2034MQRC_NO_MSG_UNDER_CURSOR 203507F3RC2035MQRC_NOT_AUTHORIZED 203607F4RC2036MQRC_NOT_OPEN_FOR_BROWSE 203707F5RC2037MQRC_NOT_OPEN_FOR_INPUT 203807F6RC2038MQRC_NOT_OPEN_FOR_INQUIRE 203907F7RC2039MQRC_NOT_OPEN_FOR_OUTPUT 204007F8RC2040MQRC_NOT_OPEN_FOR_SET 204107F9RC2041MQRC_OBJECT_CHANGED 204207FARC2042MQRC_OBJECT_IN_USE 204307FBRC2043MQRC_OBJECT_TYPE_ERROR 204407FCRC2044MQRC_OD_ERROR 204507FDRC2045MQRC_OPTION_NOT_VALID_FOR_TYPE 204607FERC2046MQRC_OPTIONS_ERROR 204707FFRC2047MQRC_PERSISTENCE_ERROR 20480800