Author Archives: Roger Lacroix

My name is Roger Lacroix and I am a die hard programmer. I have been programming since the 80s. My favorite programming languages are Java, C and Rexx. I have worked in the airline, retail but I have spent most of my time doing middleware work in the financial services industry. In 1994, I was introduced to IBM MQ (aka WebSphere MQ & MQSeries) and I thought it was the next best thing since man created fire. This blog will be about IBM MQ, Java, C, Rexx and any other interesting items that I can think of. I hope you enjoy it.

Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

s

On StackOverflow, someone asked a question about putting 2 messages on a queue with unique correlation ids and then retrieve a message with a particular correlation id. Here is a fully functioning Java/MQ program that will put 2 messages on a queue with unique correlation ids and then retrieve a message with a particular correlation […]

HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), Open Source, Programming, Raspberry Pi, Unix, Windows Comments Off on Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

Enhancement to MQ Auditor

s

Capitalware has an MQ solution called MQ Auditor. MQ Auditor is a solution that allows a company to audit/track all MQ API calls performed by MQ applications that are connected to a queue manager. I have enhanced MQ Auditor with a new keyword called ExcludePCFMessages. It has a default value of ‘N’. When it is […]

Capitalware, IBM i (OS/400), IBM MQ, Linux, MQ Auditor, Unix, Windows Comments Off on Enhancement to MQ Auditor

Capitalware Product Advisory – MQ Auditor

s

A bug was discovered in Capitalware’s MQ Auditor related to PCF response message for the PCF MQCMD_INQUIRE_Q_NAMES command. The PCF response message to the MQCMD_INQUIRE_Q_NAMES command has 2 parts: list of queues and list of queue types. To format the queue types (i.e. local, alias, etc.), the code used a 1024 byte static array. The […]

Capitalware, IBM i (OS/400), IBM MQ, Linux, MQ Auditor, Unix, Windows Comments Off on Capitalware Product Advisory – MQ Auditor

IBM MQ Knowledge Center Icons

s

IBM keeps added more and more icons in the MQ Knowledge Center to highlight which platforms and/or versions that a particular feature is supported on. You can find a complete list and explanation of the icons on the following MQ Knowledge Center page: https://www.ibm.com/docs/en/ibm-mq/latest?topic=mq-release-platform-icons-in-product-documentation Regards, Roger Lacroix Capitalware Inc.

Education, HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Unix, Windows, z/OS Comments Off on IBM MQ Knowledge Center Icons

IBM MQ Fix Pack 9.1.0.8 Released

s

IBM has just released Fix Pack 9.1.0.8 for IBM MQ V9.1 LTS: https://www.ibm.com/support/pages/downloading-ibm-mq-9108 Regards, Roger Lacroix Capitalware Inc.

Fix Packs for MQ, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, Unix, Windows Comments Off on IBM MQ Fix Pack 9.1.0.8 Released

Microsoft OpenJDK Builds

s

I had to rub my eyes and read the announcement twice!! 🙂 Microsoft announces the general availability of Microsoft Build of OpenJDK: https://devblogs.microsoft.com/java/announcing-general-availability-of-microsoft-build-of-openjdk/ Java at Microsoft spans from Azure to Minecraft, across SQL Server to Visual Studio Code, LinkedIn and beyond! We use more Java than one can imagine. The Microsoft Build of OpenJDK is […]

Java, JMS, Linux, macOS (Mac OS X), Open Source, Programming, Windows Comments Off on Microsoft OpenJDK Builds

Java MQ Code to Clear a Queue of Messages

s

If you have done the following runmqsc command to clear a queue: And you wanted to do the same thing via a program, here is a fully functioning Java MQ example that will connect to a remote queue manager, issue a PCF “Clear Queue” command, get the PCF response messages and output if the PCF […]

HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Raspberry Pi, Unix, Windows Comments Off on Java MQ Code to Clear a Queue of Messages

Updates to My ByteArray Class

s

Last year, I posted a blog item called Java’s Missing Byte Array Class regarding the missing ByteArray class in Java and I published my ByteArray class for all to use. I have fixed a bug in the getBytes method and added 2 new methods: public int convertToInt_BE() public void replaceAndResize(byte[] oldByteArray, byte[] newByteArray) I have […]

HPE NonStop, IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Open Source, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Updates to My ByteArray Class

Ubuntu 21.04 Released

s

Canonical has just released Ubuntu v21.04. http://releases.ubuntu.com/21.04/ Super-fast, easy to use and free, the Ubuntu operating system powers millions of desktops, netbooks and servers around the world. Ubuntu does everything you need it to. It’ll work with your existing PC files, printers, cameras and MP3 players. And it comes with thousands of free apps. Regards, […]

Linux, Open Source, Operating Systems Comments Off on Ubuntu 21.04 Released

Programmatically Get IBM MQ Version for Both Client and Queue Manager

s

Recently, on both StackOverflow and mqseries.net, people have been asking about getting both the client and queue manager versions numbers for MQ. It is pretty easy to get both the client and queue manager from the command line. For the IBM MQ installation that is running the queue manager, you simply issue the following command: […]

HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, JMS, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Raspberry Pi, Unix, Windows Comments Off on Programmatically Get IBM MQ Version for Both Client and Queue Manager