Archive for the Category: Windows

Java MQ Code to Clear a Queue of Messages

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 […]

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

Updates to My ByteArray Class

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 […]

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

Programmatically Get IBM MQ Version for Both Client and Queue Manager

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: […]

Also posted in 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 Comments Off on Programmatically Get IBM MQ Version for Both Client and Queue Manager

IBM is Open Sourcing Watson IoT Platform Message Gateway (formerly IBM MessageSight)

Back in November 2020, IBM announced that they would be withdrawing/discontinuing IBM IoT MessageSight and IBM Watson IoT Platform Message Gateway. The other day, IBM announced that they would be donating the source code for Watson IoT Platform Message Gateway (formerly IBM MessageSight) to Eclipse. You can read about the new Eclipse project here: https://projects.eclipse.org/proposals/eclipse-amlen […]

Also posted in Linux, MQTT, Unix Comments Off on IBM is Open Sourcing Watson IoT Platform Message Gateway (formerly IBM MessageSight)

IBM MQ Fix Pack 9.2.0.2 Released

IBM has just released Fix Pack 9.2.0.2 for IBM MQ V9.2 LTS: https://www.ibm.com/support/pages/node/6434245 Regards, Roger Lacroix Capitalware Inc.

Also posted in Fix Packs for MQ, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, Unix Comments Off on IBM MQ Fix Pack 9.2.0.2 Released

All Java and JVM features since JDK 8 to 16

David Csakvari has a blog posting called: A categorized list of all Java and JVM features since JDK 8 to 16 If you ever wondered or needed to know what has changed between releases of Java, David Csakvari’s blog posting has an excellent list of changes. On the flip side, if you are a new […]

Also posted in HPE NonStop, IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, z/OS Comments Off on All Java and JVM features since JDK 8 to 16

IBM MQ V9.2.2 Announced

IBM has announced IBM MQ V9.2.2: https://www.ibm.com/common/ssi/cgi-bin/ssialias?infotype=AN&subtype=CA&htmlfid=897/ENUS221-075 Highlights: MQ 9.2.2: – Advanced Message Queuing Protocol (AMQP) browse support MQ Advanced 9.2.2: – The capabilities listed in MQ 9.2.2 – New ordering options for nonproduction workloads – An early release of “native high-availability”, which is made available for demonstration purposes for clients deploying container-based queue managers […]

Also posted in Fix Packs for MQ, IBM MQ, IBM MQ Appliance, Unix, z/OS Comments Off on IBM MQ V9.2.2 Announced

Java 16 Released

Oracle has just released Java 16. https://blogs.oracle.com/java-platform-group/the-arrival-of-java-16 Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in today’s demanding embedded environments. Java offers the rich user interface, performance, versatility, portability, and security that today’s applicationsrequire. Regards, Roger Lacroix Capitalware Inc.

Also posted in IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Programming, Raspberry Pi, Unix, z/OS Comments Off on Java 16 Released

Enhancement to Exporting MQ Objects into Individual Files

Yesterday, I wrote a blog item regarding Exporting MQ Objects into Individual Files. I forgot that the dmpmqcfg program can output the MQ Object information as 1 line rather than spanning multiple lines. Hence, if we let dmpmqcfg do that work then we can simplify the Rexx script to only output the various MQ objects […]

Also posted in IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Open Source, Programming, Rexx Comments Off on Enhancement to Exporting MQ Objects into Individual Files

Exporting MQ Objects into Individual Files

I posted this item on mqseries.net and I thought I should do a write up here. Back in the early 2000s, I was a consultant at a customer site and they wanted the nightly dumps of the MQ objects (not messages), 1 line per object and then check those files into a source code repository. […]

Also posted in IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Open Source, Programming, Rexx Comments Off on Exporting MQ Objects into Individual Files