That is good news to hear... though not all companies out there shout it from the rooftops it seems...
I also love the fact that the way that its presented is approachable for anyone to understand especially on stable middleware such as IBM MQ.
Original Message:
Sent: Mon February 24, 2025 12:12 PM
From: Vincent Greene
Subject: mqrc on IBM i
There are plenty of folks using MQ on IBM i.
This question should open things up quite a bit. Those symlinks in /QIBM/ProdData/mqm/bin include most of the commands that the documentation refers to, so many of the examples run with minimal or no modification. Just put /QIBM/ProdData/mqm/bin in your path.
Personally, my favorite is piping commands into runmqsc and processing the results with grep and sed.
There are IBM i equivalent commands for many of these commands as well that work with IBM i specific object types and processes.
For example, you can use the DMPMQCFG from CL to dump a QM config to a source file with:
DMPMQMCFG MQMNAME(MYQM)
TOFILE(SRCLIB/SRCFILE)
TOMBR(SRCMBR)
or you can dump it to a IFS stream file with:
dmpmqcfg -m MYQM
You have the option to choose the one that works for your use case.
------------------------------
Vincent Greene
IT Consultant
Technology Expert labs
IBM
Vincent.Greene@ibm.com
The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Original Message:
Sent: Mon February 24, 2025 05:40 AM
From: Luc-Michel Demey
Subject: mqrc on IBM i
Hello Jonathan, hello Marius,
Thank you for your answers, it reassures me to know that somewhere there are experts who practice MQ on the IBM i.
Here in France I have quite a few MQ customers on the IBM i, and I sometimes feel a bit alone, especially when faced with documentation that is VERY ALW-oriented!
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
lmd@demey-consulting.fr
#IBMChampion
Original Message:
Sent: Mon February 24, 2025 04:24 AM
From: Marius le Roux
Subject: mqrc on IBM i
Hi Jonathan,
I then stand corrected by your explanation and this makes sense.
( I also confirmed by looking at what you described).
Thanks for that clarification.
------------------------------
Marius le Roux theIBMiGuy
Owner , IBM i Consultant & Technology Strategist
MLR Consulting
Port Alfred
Original Message:
Sent: Mon February 24, 2025 04:11 AM
From: Jonathan Rumsey
Subject: mqrc on IBM i
Hi Marius,
MQ on IBM i does provide symlinks in the IFS filesystem from /QIBM/ProdData/mqm/bin to *PGM objects in the QMQM library in the QSYS filesystem - to avoid needing to use /QSYS.LIB/QMQM.LIB/xxxx.PGM style qualification when calling from QShell.
IBM i (or OS/400 as it was back then) was one of the very first MQ platforms and it has always integrated closely with OS features like commit control and journals. Whilst MQ Advanced Message Security does link out to call into OpenSSL libraries in PASE, all other MQ binaries (*PGM and *SRVPGM) continue to run natively.
------------------------------
Jonathan Rumsey
Senior Software Engineer
Original Message:
Sent: Mon February 24, 2025 03:36 AM
From: Marius le Roux
Subject: mqrc on IBM i
Hi Luc-Michel,
MQ Binaries does exist on 9.1 onwards in "/QIBM/Proddata/mqm/bin"
You may find the mqrc there for example.
IBMi normally follows AIX binaries (in this case my assumption here is that they do enable it via PASE) .
Give that a try and let me know.
------------------------------
Marius le Roux, theIBMiGuy
Owner , IBM i Consultant & Technology Strategist, Enterprise Integration Consultant (IBM i Focus)
MLR Consulting
South AfricaMarius le Roux, theIBMiGuy
Owner , IBM i Consultant & Technology Strategist, Enterprise Integration Consultant (IBM i Focus)
MLR Consulting
South Africa
Original Message:
Sent: Sun February 23, 2025 01:22 PM
From: Luc-Michel Demey
Subject: mqrc on IBM i
On LUW platforms, the mqrc command displays the text value of an MQ return code.
I haven't found the equivalent on MQ for IBM i.
Does anyone have an idea?
Thank you.
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
lmd@demey-consulting.fr
#IBMChampion
------------------------------