Mq Error Code 2219
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support
MQSeries.net Forum Index » IBM MQ API Support » multi-threaded program error 2219 or 2059 multi-threaded program error 2219 or 2059 « View previous topic :: View next topic » Author Message rfirtion Posted: Mon Mar 29, 2010 10:41 am Post subject: multi-threaded program error 2219 or 2059 NewbieJoined: 04 Mar 2010Posts: 8 http://www.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.tro.doc/q042560_.htm All, I have a multi-threaded program on OpenVMS and a Queue Manager with two queues. The main thread opens the input queue and does MQGETs and the 2nd thread opens the ouput queue and does MQPUTs. When I make the connections to the MQServer with two different connection handles but the same channel name, I could open the queues, do the MQGET but would get http://www.mqseries.net/phpBB2/viewtopic.php?t=53163&sid=4c9d60ac1ce85c89dfe0d6e118fff3ee error 2219 on the MQPUT, which I thought would be avoided with two different connection handles and two threads. The MQGET runs in the main thread every 1 sec. When I used a different channel name for the two connections, I could open the input queue but never open the output queue. I would get error 2059, queue not available. Does anyone know why and/or can point me to some good multi-threaded example code? Thanks! Back to top fjb_saper Posted: Mon Mar 29, 2010 1:35 pm Post subject: Grand PoobahJoined: 18 Nov 2003Posts: 18635Location: LI,NY We need more information... MQ Version and patch level Programming language (C, Java, JMS, etc...) Code extracts Baring that I would suggest you open a PMR... _________________MQ & Broker admin Back to top mvic Posted: Mon Mar 29, 2010 4:26 pm Post subject: Re: multi-threaded program error 2219 or 2059 PadawanJoined: 09 Mar 2004Posts: 1980 rfirtion wrote: but would get error 2219 2219 is MQRC_CALL_IN_PROGRESS You should be able to take an MQ trace to verify what HConn MQ thinks you are using. If you can demonstrate MQ is at fault, then raise that PMR, as fjb_sapeFORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips http://www.tek-tips.com/viewthread.cfm?qid=1089985 Forums! Talk With Other Members Be Notified Of ResponsesTo Your https://www.imwuc.org/blog/ibm-websphere-mq-reason-code-list-/-mq-reason-codes-/-websphere-mq-error-codes-/-mq-error-messages Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, mq error recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. IBM: mq error code MQSeries Forum at Tek-Tips HomeForumsProgrammersEAI Distributed/Component ProgrammingIBM: MQSeries Forum MQCLOSE Fails with 2219 MQRC_CALL_IN_PROGRESS. thread332-1089985 Forum Search FAQs Links MVPs MQCLOSE Fails with 2219 MQRC_CALL_IN_PROGRESS. MQCLOSE Fails with 2219 MQRC_CALL_IN_PROGRESS. d3vzero (TechnicalUser) (OP) 11 Jul 05 09:24 Have an existing Server process which Waits on MQ Messages, and processes them when they come in.Currently writing, in C, a signal handling routine responsible for the following (on receipt of SIGUSR1).1. MQCLOSE current Queue.2. MQDISC current MQ Manager.3. Re-Read Config File (contains new MQ Conn Info).4. MQCONN to new MQ Manager obtained from Config File.5. MQOPEN new Queue obtained from Config File.6. Continue normal processing.My problem is that the current Server routines that I'm interfacing with use an MQGET call with the GMO.Options set to MQGMO_WAIT, and the GMO.WaitInterval set to MQWI_UNLIMITED. (ie. Wait forever till you get a message).In this situation, my routine is called on receipt of t
Blog IBM Websphere MQ Reason code list / mq reason codes / websphere mq error codes / mq error messages Karthick Karthikeyan MQRC_* (Reason Codes) MQRC_NONE 0 X'00000000' MQRC_APPL_FIRST 900 X'00000384' MQRC_APPL_LAST 999 X'000003E7' MQRC_ALIAS_BASE_Q_TYPE_ERROR 2001 X'000007D1' MQRC_ALREADY_CONNECTED 2002 X'000007D2' MQRC_BACKED_OUT 2003 X'000007D3' MQRC_BUFFER_ERROR 2004 X'000007D4' MQRC_BUFFER_LENGTH_ERROR 2005 X'000007D5' MQRC_CHAR_ATTR_LENGTH_ERROR 2006 X'000007D6' MQRC_CHAR_ATTRS_ERROR 2007 X'000007D7' MQRC_CHAR_ATTRS_TOO_SHORT 2008 X'000007D8' MQRC_CONNECTION_BROKEN 2009 X'000007D9' MQRC_DATA_LENGTH_ERROR 2010 X'000007DA' MQRC_DYNAMIC_Q_NAME_ERROR 2011 X'000007DB' MQRC_ENVIRONMENT_ERROR 2012 X'000007DC' MQRC_EXPIRY_ERROR 2013 X'000007DD' MQRC_FEEDBACK_ERROR 2014 X'000007DE' MQRC_GET_INHIBITED 2016 X'000007E0' MQRC_HANDLE_NOT_AVAILABLE 2017 X'000007E1' MQRC_HCONN_ERROR 2018 X'000007E2' MQRC_HOBJ_ERROR 2019 X'000007E3' MQRC_INHIBIT_VALUE_ERROR 2020 X'000007E4' MQRC_INT_ATTR_COUNT_ERROR 2021 X'000007E5' MQRC_INT_ATTR_COUNT_TOO_SMALL 2022 X'000007E6' MQRC_INT_ATTRS_ARRAY_ERROR 2023 X'000007E7' MQRC_SYNCPOINT_LIMIT_REACHED 2024 X'000007E8' MQRC_MAX_CONNS_LIMIT_REACHED 2025 X'000007E9' MQRC_MD_ERROR 2026 X'000007EA' MQRC_MISSING_REPLY_TO_Q 2027 X'000007EB' MQRC_MSG_TYPE_ERROR 2029 X'000007ED' MQRC_MSG_TOO_BIG_FOR_Q 2030 X'000007EE' MQRC_MSG_TOO_BIG_FOR_Q_MGR 2031 X'000007EF' MQRC_NO_MSG_AVAILABLE 2033 X'000007F1' MQRC_NO_MSG_UNDER_CURSOR 2034 X'000007F2' MQRC_NOT_AUTHORIZED 2035 X'000007F3' MQRC_NOT_OPEN_FOR_BROWSE 2036 X'000007F4' MQRC_NOT_OPEN_FOR_INPUT 2037 X'000007F5' MQRC_NOT_OPEN_FOR_INQUIRE 2038 X'000007F6' MQRC_NOT_OPEN_FOR_OUTPUT 2039 X'000007F7' MQRC_NOT_OPEN_FOR_SET 2040 X'000007F8' MQRC_OBJECT_CHANGED 2041 X'000007F9' MQRC_OBJECT_IN_USE 2042 X'000007FA' MQRC_OBJECT_TYPE_ERROR 2043 X'000007FB' MQRC_OD_ERROR 2044 X'000007FC' MQRC_OPTION_NOT_VALID_FOR_TYPE 2045 X'000007FD' MQRC_OPTIONS_ERROR 2046 X'000007FE' MQRC_PERSISTENCE_ERROR 2047 X'000007FF' MQRC_PERSISTENT_NOT_ALLOWED 2048 X'00000800' MQRC_PRIORITY_EXCEEDS_MAXIMUM 2049 X'00000801' MQRC_PRIORITY_ERROR 2050 X'00000802' MQRC_PUT_INHIBITED 2051 X'00000803' MQRC_Q_DELETED 2052 X'00000804' MQRC_Q_FULL 2053 X'00000805' MQRC_Q_NOT_EMPTY 2055 X'00000807' MQRC_Q_SPACE_NOT_AVAILABLE 2056 X'00000808' MQRC_Q_TYPE_ERROR 2057 X'00000809' MQRC_Q_MGR_NAME_ERROR 2058 X'0000080A' MQRC_Q_MGR_NOT_AVAILABLE 2059 X'0000080B' MQRC_REPORT_OPTIONS_ERROR 2061 X'0000080D' MQ