MQ

Expand all | Collapse all

Download Link for MS03 - MQ

  • 1.  Download Link for MS03 - MQ

    Posted Tue January 19, 2021 05:38 AM
    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
    ------------------------------


  • 2.  RE: Download Link for MS03 - MQ

    Posted Tue January 19, 2021 06:45 AM
      |   view attached
    I don't have the support pack but the attached is the file we use in aix.

    ------------------------------
    Rab McGill
    ------------------------------

    Attachment(s)

    zip
    saveqmgr.zip   54 KB 1 version


  • 3.  RE: Download Link for MS03 - MQ

    Posted Thu January 21, 2021 04:15 AM
    Hi,

    thank you for your feedback. I managed to build it from GitHub.

    ------------------------------
    Largou walid
    ------------------------------



  • 4.  RE: Download Link for MS03 - MQ

    Posted Wed January 20, 2021 05:00 AM
    Hi,

    MS03 has moved to GitHub but not been maintained since 2016.
    See README.md :
    NOTICE OF RETIREMENT
    THIS CODE IS OBSOLETE AND SHOULD NOT BE USED. ANY IBM MQ VERSION VERSION 7.1 OR LATER SHOULD USE DMPMQCFG OR THE RELEVANT COMMAND ON iSeries or zOS.

    ------------------------------
    Norbert Pfister
    system engineer
    DATEV eG
    Nuremberg
    ------------------------------



  • 5.  RE: Download Link for MS03 - MQ

    Posted Thu January 21, 2021 04:16 AM
    Hi,

    Yes i do know that it is no more maintained, but as you know part of modernization projects we find wonder (customer is still running WAS 6 )

    ------------------------------
    Largou walid
    ------------------------------



  • 6.  RE: Download Link for MS03 - MQ

    Posted Fri January 22, 2021 08:35 AM
    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.


  • 7.  RE: Download Link for MS03 - MQ

    Posted Fri January 22, 2021 12:51 PM
    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
    ------------------------------



  • 8.  RE: Download Link for MS03 - MQ

    Posted Sat January 23, 2021 05:52 PM

    If you're trying to strip data from files, perhaps XML tags, you could try QLOAD from MQGem. See QLOAD: Using delimited files

    Alternatively, if I've got the wrong end of the stick, perhaps you can give a small example of what you are trying to do, so we can more fully understand how to help you.

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 9.  RE: Download Link for MS03 - MQ

    Posted Tue January 26, 2021 03:50 PM
    I am not trying to strip anything from the file.

    ------------------------------
    Amit Kapila
    Integration Developer
    eComm Europe Limited
    London
    UK
    amitkapila@hotmail.com
    +44 (0)2085707240
    +44 (0)7976529902
    ------------------------------



  • 10.  RE: Download Link for MS03 - MQ

    Posted Mon January 25, 2021 02:38 AM
    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
    ------------------------------



  • 11.  RE: Download Link for MS03 - MQ

    Posted Mon January 25, 2021 02:32 PM
    AK> Has anyone come across a utility that works for the Linux type operating systems? 

    Capitalware has a couple of products that fits the bill:

    - MQ Visual Edit is a GUI application that runs natively on Linux
    - MQ Batch Toolkit is a command-line / scripting application that runs natively on Linux


  • 12.  RE: Download Link for MS03 - MQ

    Posted Mon January 25, 2021 02:47 PM
    I will try that





  • 13.  RE: Download Link for MS03 - MQ

    Posted Tue January 26, 2021 05:42 PM
    Roger,

    That works and is a great tool

    ------------------------------
    Amit Kapila
    Integration Developer
    eComm Europe Limited
    London
    UK
    amitkapila@hotmail.com
    +44 (0)2085707240
    +44 (0)7976529902
    ------------------------------



  • 14.  RE: Download Link for MS03 - MQ

    Posted Tue January 26, 2021 03:49 AM
    Edited by Martin Evans Tue January 26, 2021 03:54 AM
    Hi Amit,

    It might be better to start a new subject for your question on sending a message to an MQ queue but have you considered using the REST API?

    https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.ref.adm.doc/q128760_.html

    Get started with the IBM MQ messaging REST API

    Regards,

    Martin


  • 15.  RE: Download Link for MS03 - MQ

    Posted Tue January 26, 2021 03:20 PM
    I am seeing this error:

    mqbrkruser@SATELLITE-L50D-B:/opt/mqm/samp/bin$ curl -k https://localhost:9443/ibmmq/rest/v1/messaging/qmgr/QM2/queue/INCSV/message -X POST -u mqbrkruser:G8n35hj1 -H "ibm-mq-rest-csrf-token: value" -H "Content-Type: text/plain;charset=utf-8" --data "Hello World!"
    {"error": [{
    "action": "Provide credentials using a client certificate, LTPA security token, or username and password via HTTP basic authentication header. On z/OS, if the mqweb server has been configured for SAF authentication, check the messages.log file for messages indicating that SAF authentication is not available. Start the Liberty angel process if it is not already running. You might need to restart the mqweb server for any changes to take effect.",
    "completionCode": 0,
    "explanation": "The REST API request cannot be completed because credentials were omitted from the request. On z/OS, if the mqweb server has been configured for SAF authentication, this can be caused by the Liberty angel process not being active.",
    "message": "MQWB0104E: The REST API request to 'https://localhost:9443/ibmmq/rest/v1/messaging/qmgr/QM2/queue/INCSV/message' is not authenticated.",
    "msgId": "MQWB0104E",
    "reasonCode": 0,
    "type": "rest"

    I am unfamiliar with mqweb. Before I carry on and try overcome this issue could you confirm that I will be able to send CSV, XML and JSON files to the queues via the REST API?

    ------------------------------
    Amit Kapila
    Integration Developer
    eComm Europe Limited
    London
    UK
    amitkapila@hotmail.com
    +44 (0)2085707240
    +44 (0)7976529902
    ------------------------------



  • 16.  RE: Download Link for MS03 - MQ

    Posted Tue January 26, 2021 03:44 PM
    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
    ------------------------------



  • 17.  RE: Download Link for MS03 - MQ

    Posted Tue January 26, 2021 04:38 PM
    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
    ------------------------------



  • 18.  RE: Download Link for MS03 - MQ

    Posted Wed January 27, 2021 08:52 AM
    Edited by Tim Zielke Fri January 29, 2021 08:36 AM
    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 runs basically anywhere. 

    Thanks,
    Tim

    ------------------------------
    Tim Zielke
    ------------------------------



  • 19.  RE: Download Link for MS03 - MQ

    Posted Thu January 28, 2021 07:39 AM

    Hello Tim:

    Hum! That is good to know that the Java utility MQFile2Msg is included in this SupportPac. It just tried the utility and it worked as designed! 

    May I suggest that you include a reference to MQFile2Msg in the Abstract and in the Description for the SupportPac?

    https://www.ibm.com/support/pages/mh06-websphere-mq-trace-tools
    MH06: WebSphere MQ - Trace Tools

    Thank you very much!

    Angel Rivera, IBM MQ Distributed Support



    ------------------------------
    Angel Rivera
    IBM MQ Support
    Research Triangle Park NC
    ------------------------------



  • 20.  RE: Download Link for MS03 - MQ

    Posted Thu January 28, 2021 09:21 AM
    Hi Angel,

    Thanks for the feedback! I have requested for the MH06 supportpac web page to be updated to include information on the MQFile2Msg tool.

    Thanks,
    Tim

    ------------------------------
    Tim Zielke
    ------------------------------



  • 21.  RE: Download Link for MS03 - MQ

    Posted Thu January 28, 2021 12:33 PM
    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
    ------------------------------



  • 22.  RE: Download Link for MS03 - MQ

    Posted Fri January 29, 2021 03:41 AM
    If you are on a recent (supported version) there is also a utility that comes with MQ: dmpmqmsg. It will dump messages to a file or load messages from a file.

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 23.  RE: Download Link for MS03 - MQ

    Posted Fri January 29, 2021 04:09 AM
    I believe that the format has to be correct else that utility won't work. The best solution for me is MQ2File that comes as part ms06.