Hi Tim,
I got this working eventually. I used the link that Martin Evans sent so that I could have the correct authorities and env settings.
I ran this as the the mqm user:
crtmqm QM3
strmqm QM3
runmqsc QM3 < "./mq-dev-config.mqsc"
setmqaut -m QM3 -t qmgr -g mqclient +connect +inq
setmqaut -m QM3 -n DEV.** -t queue -g mqclient +put +get +browse +inq
export MQSERVER='DEV.APP.SVRCONN/TCP/localhost(1416)'
export MQSAMP_USER_ID='app'
cd /opt/mqm/samp/bin
./amqsputc DEV.QUEUE.1 QM3
cd /opt/mqm/samp/bin
./amqsputc DEV.QUEUE.1 QM3
./amqsgetc DEV.QUEUE.1 QM3
I ran this as my broker user:
/opt/mqm/java/jre64/jre/bin/java -Djava.library.path=/opt/mqm/java/lib64 MQFile2Msg -q DEV.QUEUE.1 -f ~/shiporder.xml -m QM3
I am now going to connect my broker to the QM3 queue manager so that I can now continue my development.
The advantage of this is that I do not have to pay for an MQ client. I hope the commands above help anyone else who has a POSIX type environment.
Thanks for your help,
Amit
------------------------------
Amit Kapila
Integration Developer
eComm Europe Limited
London
UK
amitkapila@hotmail.com+44 (0)2085707240
+44 (0)7976529902
------------------------------
Original Message:
Sent: Wed January 27, 2021 08:51 AM
From: Tim Zielke
Subject: Download Link for MS03 - MQ
Hi Amit,
If you are looking for a tool that can take the contents of a file and PUT it to a queue, another option is MQFile2Msg in the MH06 supportpac. It is a simple Java program that can perform this functionality. There is doc in the supportpac on how to use it. Since it is Java based, it run basically anywhere.
Thanks,
Tim
------------------------------
Tim Zielke
Original Message:
Sent: Tue January 26, 2021 04:38 PM
From: Neil Casey
Subject: Download Link for MS03 - MQ
Hi Amit,
it looks like you just want to put MQSTR format messages (CSV, XML and JSON all contain printable string data) so that makes your life easier.
While rfhutil would allow you to do that with a GUI locally on Windows, you rightly point out that you can't use it on ubuntu. However, if you create a SVRCONN channel to allow a client connection, and can run rfhutilc (the client version) on a Windows machine on the network, that would let you use the tooling you are familiar with to complete the task.
Alternatively, if you are happy to use a command line tool, the former support pack program 'q' is still available and can be used on pretty much any platform that supports MQ. You just have to compile it yourself, but this is very easy on linux as the included make file is targeted for linux.
You can find q together with qload at: https://github.com/ibm-messaging/mq-q-qload.
If you have time to set up the security around mqweb REST API, then that is the more modern way to allow test tools to push messages onto queues. curl will do the job with --data or --data-binary, You have to sort out authentication and TLS though.
If you can't get rfhutilc.exe to connect from a Windows system but you want to use a GUI, several other responses have mentioned commercial options which I have used in the past.
Regards,
------------------------------
Neil Casey
Senior Consultant
Syntegrity Solutions
Melbourne, Victoria
IBM Champion (Cloud) 2019-20
+61 (0) 414 615 334
Original Message:
Sent: Tue January 26, 2021 03:43 PM
From: Amit Kapila
Subject: Download Link for MS03 - MQ
HI Daniel,
Thanks for trying to help. I ran the command you suggested by it is not placing my.xml on the MQ queue.
I want to be able to place message on an IBM WebSphere queue running on a queue manager.
------------------------------
Amit Kapila
Integration Developer
eComm Europe Limited
London
UK
amitkapila@hotmail.com
+44 (0)2085707240
+44 (0)7976529902
Original Message:
Sent: Mon January 25, 2021 02:37 AM
From: Daniel Steinmann
Subject: Download Link for MS03 - MQ
Maybe you are looking for the paste command:
$ cat my.xml
<main>
<foo>bar</foo>
</main>
$ paste -s my.xml
<main> <foo>bar</foo> </main>
------------------------------
Daniel Steinmann
Original Message:
Sent: Fri January 22, 2021 12:51 PM
From: Amit Kapila
Subject: Download Link for MS03 - MQ
Hello,
I am running IIB 10 on Ubuntu Eoan. I am developing message flows via the IIB Toolkit some of which start with an MQInput node. I can't use rfhutil/c since it doesn't work on Ubuntu. I am having to minify XML data so that I can PUT to the MQ queue via MQ Explorer. I have tried to use dmpmqcfg but it doesn't work with files.
Has anyone come across a utility that works for the Linux type operating systems?
Kind regards,
Amit Kapila
------------------------------
Amit Kapila
AmitKapila
Original Message:
Sent: Fri January 22, 2021 08:34 AM
From: Peter Potkay
Subject: Download Link for MS03 - MQ
You can use the current version of dmpmqcfg in client mode from any modern system to connect to your ancient queue manager to gets its configurations.
https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.ref.adm.doc/q083160_.htm
MS03 was replaced by dmpmqcfg.
------------------------------
Peter Potkay
Original Message:
Sent: Tue January 19, 2021 05:38 AM
From: Largou walid
Subject: Download Link for MS03 - MQ
Hi,
I was wondering who still have the binaries for the SupportPac MS03, I need to migrate the configuration of an MQ 7.0.1 instance, and all the links in the internet are broken. I need binaries for AIX.
Thank you
------------------------------
Largou walid
------------------------------