Author |
Message
|
joebite |
Posted: Thu Sep 10, 2015 10:19 pm Post subject: Need to Copy MQ Message from one Queue to Another (in zOS) |
|
|
Newbie
Joined: 10 Sep 2015 Posts: 1
|
Hi,
In Our Mainframe environment, we are in need of copying one MQ queue messages to another Queue.
While searching the forum, I found about this utility: dmpmqmsg.
But the document from IBM is scant and doesnt provide detail whether it supports this tool in zOS or not.
Please let me know if you are aware of any other tools that accomplies this in zOS .
thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Fri Sep 11, 2015 4:49 am Post subject: Re: Need to Copy MQ Message from one Queue to Another (in zO |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
joebite wrote: |
But the document from IBM is scant and doesnt provide detail whether it supports this tool in zOS or not. |
It doesn't.
joebite wrote: |
Please let me know if you are aware of any other tools that accomplies this in zOS . |
The equivalent to this utility and most of the other distributed command utilities (e.g. runmqsc) is CSQUTIL. You're looking at the COPY and LOAD functions. If you're not, as you seem to be, that familiar with z/OS, speak to your sys progs for assistance with JCL.
They almost certainly have some CSQUTIL JCL examples, if only the ones they used to define the z/OS queue manager. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 11, 2015 4:55 am Post subject: Re: Need to Copy MQ Message from one Queue to Another (in zO |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
joebite wrote: |
But the document from IBM is scant and doesnt provide detail whether it supports this tool in zOS or not. |
Please read
this page again.
Notice the information at the top. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
elkinsc |
Posted: Fri Sep 11, 2015 6:37 am Post subject: CSQUTIL or dmpmqmsg may be used |
|
|
 Centurion
Joined: 29 Dec 2004 Posts: 138 Location: Indy
|
1) What version of MQ are you using?
2) Do you allow clients to attach to your z/OS queue manager?
My queue managers are running on V8, and I was able to use dmpmqmsg to copy messages between queues as long as the client option is used.
An example:
SET MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/mqx1(1417)
dmpmqmsg -mQML1 -iELKINSC.TEST -oELKINSC.TESTA -c
[/url] |
|
Back to top |
|
 |
vsathyan |
Posted: Sun Sep 13, 2015 11:02 am Post subject: |
|
|
Centurion
Joined: 10 Mar 2014 Posts: 121
|
If you allow client connections, you can try using MQTransfer tool. Download link below.
http://www.mqclient.com/downloads.php?cat_id=2&download_id=16
Not sure if it supports zOS queue managers though. _________________ Custom WebSphere MQ Tools Development C# & Java
WebSphere MQ Solution Architect Since 2011
WebSphere MQ Admin Since 2004 |
|
Back to top |
|
 |
|