Archive for the Category: Java

A Tip for Handling Java/MQ Internal Message Class

Here’s an interesting head-scratcher. I was writing some Java code to handle an MQ message and in this particular case, it was an MQRFH2 message. The code below was working fine until I decided to dump (output) the message in hexadecimal. The printMsgHex() method is a simple method to retrieve the message and output. When […]

Also posted in IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on A Tip for Handling Java/MQ Internal Message Class

Using MQ Batch Toolkit to Clear Many Queues

Here is another simple script that uses MQ Batch Toolkit (MQBT) to clear hundreds of queues at the same time. Let’s say you have an MQ sandbox or development queue manager that has hundreds of queues that need to be cleared nightly. If all of the queue names have the same high-level qualifier, then the […]

Also posted in Capitalware, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), MQ Batch Toolkit, Unix, Windows Comments Off on Using MQ Batch Toolkit to Clear Many Queues

Call for Speakers for MQ Technical Conference v2.0.1.6

We are looking for speakers on any product/service that uses IBM MQ (aka WebSphere MQ & MQSeries) for “MQ Technical Conference v2.0.1.6” (MQTC). The sessions are to be technical in nature and on any subject so long as it relates to MQ. We offer speakers the conference fee for free and we also pay for […]

Also posted in .NET, C, C++, Education, IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), MQ Technical Conference, Perl, Programming, Rexx, Security, Unix, Windows, z/OS Comments Off on Call for Speakers for MQ Technical Conference v2.0.1.6

New: Universal File Mover v1.2.2

Capitalware is pleased to announce the release of Universal File Mover v1.2.2. It is a free open source project. Universal File Mover is more than a simple tool to manage the transfer of files. It allows the user to combine business processes into a workflow. The user combines a series of Action commands to create […]

Also posted in Capitalware, IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Open Source, Universal File Mover, Unix, Windows Comments Off on New: Universal File Mover v1.2.2

Redistributable Clients Starting with MQ 8.0.0.4

With the release of FixPack 8.0.0.4 for IBM MQ, IBM has provided Redistributable Clients for: Native MQ applications using the MQI written in C, C++, COBOL MQ applications using the Java/JMS classes MQ applications using managed or unmanaged .NET classes There is a write up of the new Redistributable Clients at DeveloperWorks. Regards, Roger Lacroix […]

Also posted in .NET, C, C#, C++, IBM MQ, JMS, Linux, Programming, Windows Comments Off on Redistributable Clients Starting with MQ 8.0.0.4

Bug in MQ V8.0 for Getting Messages in a Group

IBM Support has posted a bug report that may affect some Universal File Mover (UFM) users. Title: IT09814: IBM MQ V8.0: Applications cannot get messages that were put to a queue as a group. Error description: In IBM MQ v8.0 an application that reads from a queue can fail to get messages that are put […]

Also posted in IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Universal File Mover, Unix, Windows Comments Off on Bug in MQ V8.0 for Getting Messages in a Group

A Better MD Class than IBM’s MQMD Class

This is a follow up to my blog posting last week titled: Java MQMD class Weirdness. After beating my head against the wall, I gave up on the ‘com.ibm.mq.headers.MQMD’ class and went back to my own MD (Message Descriptor) class. At least I know it works. 🙂 The reason I originally created my MD class […]

Also posted in Capitalware, IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on A Better MD Class than IBM’s MQMD Class

Java MQMD class Weirdness

I’m trying to use the MQMD class in a Java application and I’m getting weird results. I tested it with both MQ JAR files from v7.5.0.2 and v8.0.0.2 with JVM of v1.7.0. Note: All of my testing was done in ‘client mode’ (not bindings mode). The first odd thing is that MQMD class is in […]

Also posted in IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on Java MQMD class Weirdness

Configuring Eclipse to develop Java/JMS programs for MQ 8.0

IBM has published a tutorial on how to configure Eclipse for developing Java/JMS programs for MQ 8.0: http://www.ibm.com/support/docview.wss?uid=swg27046013 Regards, Roger Lacroix Capitalware Inc.

Also posted in Education, IBM MQ, JMS, Linux, Programming, Windows Comments Off on Configuring Eclipse to develop Java/JMS programs for MQ 8.0

New: Universal File Mover v1.2.1

Capitalware is pleased to announce the release of Universal File Mover v1.2.1. It is a free open source project. Universal File Mover is more than a simple tool to manage the transfer of files. It allows the user to combine business processes into a workflow. The user combines a series of Action commands to create […]

Also posted in Capitalware, IBM i (OS/400), IBM MQ, Linux, macOS (Mac OS X), Open Source, Universal File Mover, Unix, Windows Comments Off on New: Universal File Mover v1.2.1