For my link archive: [Wayback/Archive] MQSystems – Home Page:
Archive for the ‘WebSphere MQ’ Category
MQSystems – Home Page
Posted by jpluimers on 2025/08/14
Posted in Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | Leave a Comment »
WebSphere MQ errors I encountered.
Posted by jpluimers on 2013/03/26
While porting a library from Delphi 2006 to Delphi XE2.
The really cool thing is that the Windows Event Log contains details of what I did wrong (:
- 2277 (08E5) (RC2277): MQRC_CD_ERROR
Oops, typo on the header file.The MQCD structure supplied was not valid.The value of the ‘CLWLChannelWeight’ field has the value ‘0’. This value is invalid for the operation requested.Change the parameter and retry the operation. - 2538 (09EA) (RC2538): MQRC_HOST_NOT_AVAILABLE
Oops, typo in the host name (:Remote host ‘Host.Domain’ not available, retry later.The attempt to allocate a conversation using TCP/IP to host ‘Host.Domain’ for channel WebSphereMQChannelName was not successful. However the error may be a transitory one and it may be possible to successfully allocate a TCP/IP conversation later. &P In some cases the remote host cannot be determined and so is shown as ‘????’.Try the connection again later. If the failure persists, record the error values and contact your systems administrator. The return code from TCP/IP is 11001 (X’0′). The reason for the failure may be that this host cannot reach the destination host. It may also be possible that the listening program at host ‘Host.Domain’ was not running. If this is the case, perform the relevant operations to start the TCP/IP listening program, and try again. - 2009 (07D9) (RC2009): MQRC_CONNECTION_BROKENTwo causes:- The service job on the AS/400 restarted; need to make the client more robust so it gracefully handles this.
– WebSphere MQ 7.x needs different initialization than WebSphere MQ 5.x, I didn’t get some of the extra fields initialized correctly.
Connection to host ‘Host (dot.ted.ip.addr)(TCPPort)’ for channel ‘WebSphereMQChannelName’ closed.An error occurred receiving data from ‘Host (dot.ted.ip.addr)(TCPPort)’ over TCP/IP. The connection to the remote host has unexpectedly terminated. &P The channel name is ‘WebSphereMQChannelName’; in some cases it cannot be determined and so is shown as ‘????’.Tell the systems administrator.
–jeroen
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in Delphi, Delphi XE2, Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | Leave a Comment »
Reminder to Self: after installing the WebSphere MQ client software, reboot!
Posted by jpluimers on 2013/03/22
After installing the WebSphere MQ 7.x client software, you must reboot.
Otherwise the directory where mqic.dll resides doesn’t get added to the system path.
I was bitten by this with an unattended installation at a client where they forgot to have the system to reboot.
–jeroen
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in Development, MQ Message Queueing/Queuing, Power User, Software Development, WebSphere MQ, Windows | Leave a Comment »
Delphi “Variant Records”, a few notes
Posted by jpluimers on 2013/03/14
Variant Records are a feature that has been in the Pascal language since Standard Pascal.
A cool page for historic perspective is R3R: Pascal Features in Popular Compilers, hopefully someone will update it to more modern versions of the mentioned compilers.
There is not much official documentation on the Delphi side on this, so below some parts of a case I used for a project that started in 1997 and is still in use to day. Read the rest of this entry »
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in APPC, AS/400 / iSeries / System i, ASCII, COBOL, Communications Development, Conference Topics, Conferences, CPI-C, Delphi, Delphi 1, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi XE, Delphi XE2, Delphi XE3, Development, Encoding, Event, HIS Host Integration Services, Internet protocol suite, MQ Message Queueing/Queuing, SNA, Software Development, TCP, Unicode, UTF-8, WebSphere MQ | 9 Comments »
Convenient when translating C header files: Delphi to C++ types mapping (Embarcadero docwiki)
Posted by jpluimers on 2013/03/07
A while ago I was involved in a C header file translation for the header files of the IBM WebSphere MQ family of products, and the table helped a lot for the base types:
A few C things missing there:
- unsigned short (Delphi: Word)
- unsigned char (Delphi: Byte)
These articles helped resolving the missing bits:
- Integer (computer science) – Wikipedia, the free encyclopedia.
- Internal Data Formats (Delphi) – RAD Studio.
- c++ – What is an unsigned char? – Stack Overflow.
Now we can do SOA between System i (a.k.a. iSeries, aka AS/400) from Windows 7.
–jeroen
PS: Later I found someone else also did a lot of work on this and published http://www.milosev.com/Download/WebSphere/WebSphereD2009.rar [WayBack] (thanks Murat Mutlu for pointing me at that) with a very thin note at http://www.milosev.com/32-mq/mq/171-delphi-2009.html [WayBack]
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in C++, C++ Builder, Delphi, Delphi 2006, Delphi XE2, Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | Leave a Comment »
Delphi bindings for WebSphere MQ
Posted by jpluimers on 2013/02/14
The current Delphi bindings for WebSphere MQ (formerly known as MQSeries) are very old.
The MA7Q: WebSphere MQ – MQI for Delphi formal binding from IBM is incomplete. Even though it is from 2005, it doesn’t contain the MQCD definition that was there at least since WebSphere MQ 5.2 (released in 2000). And by now it should be gone, since MQSeries 5.x is not supported any more.
A newer one by Dinko Miljak which is mentioned on Delphi 3000 and mentioned on MQSeries.net, has some errors and is from the WebSphere MQ 5.2 era.
It is available via this posting on MQSeries.net (direct download link), and this author reference on Torry.net (direct download link). Both files are identical.
Since it is much more extensive than the IBM version, I am using it to update it for newer WebSphere versions.
Great help while updating are the Gefira MQ bindings for Python: readable, indexed on nullege, and helpful (for instance on the usage of MQHO_UNUSABLE_HOBJ – which is assigned when calling MQCLOSE, I found out later that it is also explained here). The latest Gefira change was in 2008, but still way better than the Delphi bindings.
Also the Perl bindings for MQSeries together with their ASCII/EBCDIC client demo helped a lot.
A big issue when translating is that the i5/OS API in large part uses different names than the regular API.
For instance MQMD (i5/OS) contains MDENC, MDCSI and MDFMT fields where MQMD (regular) contains and Encoding, CodedCharSetId and Format fields.
As soon as I have done proper translation and upgrading to WebSphere MQ 7.x, I will upload source code.
Source code will be on the BeSharp.net CodePlex repository.
–jeroen
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in Delphi, Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | 1 Comment »
A couple of notes on NMQ_MQ_LIB
Posted by jpluimers on 2013/02/13
A couple of notes on NMQ_MQ_LIB and the WebSphere MQ aka MQSeries client libraries:
- NMQ_MQ_LIB specifies the MQ DLL to use
- Depending in your interface, the NMQ_MQ_LIB can be an environment variable, application setting, or hardcoded DLL name
- MQSeries 5.x and WebShpere MQ 6.x require you to specify the bitness in the MQIC DLL name (they don’t accept mqic.dll, but require mqic32.dll) when you access it from the C or Delphi interface.
MQM DLL does not require bitness: it is mqm.dll in all versions. - From client applications, use mqic.dll or mqic32.dll.
And a few links:
- C# – .NET client connecting to IBM MQ over SSL – Stack Overflow.
- WebSphere MQ 7: defining which connection type to use.
- WebSphere MQ 6: defining which connection type to use.
- MQSeries.net :: View topic – Connecting to an MQ Server without MQ Client installed.
- MQSeries.net :: View topic – NMQ_MQ_LIB=MQIC32.dll.
I needed this to get some apps talking to MQ on AS/400 aka iSeries aka System i working correctly by getting the DLLs right.
–jeroen
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in .NET, AS/400 / iSeries / System i, Delphi, Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | Leave a Comment »
WebSphere MQ Client 5.3, 6.0 and 7.0
Posted by jpluimers on 2012/10/30
Some of the links in my post on WebSphere MQ Client 5.3 and 7.0 last year didn’t work any more, so below an updated download link list:
- New link:
Finding out your installed MQ version- New link:
WebSphere MQ Clients landing page- Still works:
WebSphere MQ Clients documentation (PDF download) is 169 pages A4- New link:
Evaluate IBM WebSphere MQ- Doesn’t work any more:
WebSphere MQ Client 5.3 for Windows XP Professional (the macvEnUS.zip English download is 88 MB)- Still works:
WebSphere MQ V 6.0 clients (6.0.2.11 readme; the mqc6_6.0.2.11_win.zip English download is 74 megabyte)- New link:
WebSphere MQ V 7.0 clients (7.1.0.8 readme; the MQC7_7.0.1.8_win.zip download is 153 megabyte)- New link:
WebSphere MQ V 7.1 clients (7.1.0.0 readme; the MQC71_7.1.0.0_win.zip download is 149 megabyte)- New link:
WebSphere MQ SupportPacs- Doesn’t work any more:
WebSphere 7.0.1.3 trial which includes the clients (the CZRV5ML.zip multilingual download for Windows is 473 MB)
Note: you need have the “WebSphere Eclipse Platform Version 3.3” prerequisite installed (it is in the “CZRV5ML\cdimage_trial\Prereqs\IES” directory of the trial)One of the reasons for being at least at V6.0, is that it allows you to specify credentials during a MQCONNX call and using MQCNO_VERSION_5 which enables the use of the SecurityParams (a demo is here) of the MQCNO structure.
–jeroen
via: WebSphere MQ Client 5.3 and 7.0 « The Wiert Corner – irregular stream of Wiert stuff.
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | 1 Comment »
Jamie’s Blog | MQTT Client Library for Delphi
Posted by jpluimers on 2011/11/23
Another way to talk to WebSphere MQ from Delphi is to use the MQTT Client Library for Delphi.
It encapsulates the MQTT protocol, which – being a telemetry transport protocol – is extremely light weight, but also versatile.
–jeroen
Via: Jamie’s Blog | MQTT Client Library for Delphi.
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in Delphi, Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ | 2 Comments »
The *must read* WebSphere MQ security topic on #MQSeries.net
Posted by jpluimers on 2011/10/04
MQSeries.net is the site to visit for WebSphere MQ (formerly MQSeries) topics.
They have a forum with very knowledgeable people.
One of the must-read topics is MQSeries.net :: View topic – NOT running amqcrsta as ‘mqm’… that points to a very nice IBM WebSphere MQ Security presentation (including a 50 minute YouTube video) that Martyn Ruks presented on EUSecWest 08 (an older version of the presentation is from DefCon 15) who in 2006 did a very nice piece of security research on the SNA protocol and now has a series of publications on WebSphere MQ security.
The posting does not link the the paper that goes with the conference (that he wrote with Alex Pratt), which has much more in depth information than the presentation itself. Recommended reading!
–jeroen
via: MQSeries.net :: View topic – NOT running amqcrsta as ‘mqm’…
Rate this:
Share this:
- Share on Mastodon (Opens in new window) Mastodon
- Share on Bluesky (Opens in new window) Bluesky
- Share on Tumblr
- Share on Reddit (Opens in new window) Reddit
- Share on Threads (Opens in new window) Threads
- Tweet
- Share on Telegram (Opens in new window) Telegram
- Share on Nextdoor (Opens in new window) Nextdoor
- Share on WhatsApp (Opens in new window) WhatsApp
- Print (Opens in new window) Print
- Email a link to a friend (Opens in new window) Email
Posted in Development, MQ Message Queueing/Queuing, Power User, Security, WebSphere MQ | Leave a Comment »





