Author |
Message
|
saddankula |
Posted: Mon May 16, 2016 9:11 am Post subject: How to Move mesaage from one queue to Another local Queue |
|
|
Acolyte
Joined: 27 Jun 2013 Posts: 51
|
Hi
Can any one suggest
How to Move mesaage from one local queue to Another local Queue in MQ 7 version.
Is there any MQSC commands for Move message from One local Queue to another Local Queue in MQ7 |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 16, 2016 9:16 am Post subject: Re: How to Move mesaage from one queue to Another local Que |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
saddankula wrote: |
How to Move mesaage from one local queue to Another local Queue in MQ 7 version. |
What mechanisms are there for reading messages and writing them?
saddankula wrote: |
Is there any MQSC commands for Move message from One local Queue to another Local Queue in MQ7 |
Does the documentation describe one? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 16, 2016 9:19 am Post subject: Re: How to Move mesaage from one queue to Another local Que |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
saddankula wrote: |
Is there any MQSC commands for Move message from One local Queue to another Local Queue in MQ7 |
If you're asking if there's an out of the box, IBM provided command accessed via runmqsc to do this, the answer is no. If you happen to be using MQ7 on z/OS, then you can do it not through an MQSC command but through one of the additional functions built into CSQUTIL.
I also echo the comments of my most worthy associate on the matter, especially on the availability of non-IBM solutions (at least non-IBM in the sense of not in the base product). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon May 16, 2016 9:25 am Post subject: Re: How to Move mesaage from one queue to Another local Que |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
If you happen to be using MQ7 on z/OS, then you can do it not through an MQSC command but through one of the additional functions built into CSQUTIL. |
Well... _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 16, 2016 10:00 am Post subject: Re: How to Move mesaage from one queue to Another local Que |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
If you happen to be using MQ7 on z/OS, then you can do it not through an MQSC command but through one of the additional functions built into CSQUTIL. |
Well... |
Ok, if you want to move all the messages on a queue to a different queue it's that z/OS specific MQSC command.
If you want to move some of the messages, or want to move the messages and retain a backup of the messages moved for audit purposes, or anything other than a "full speed ahead and damn the torpedoes" move, you need one of the utility functions. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
hughson |
Posted: Mon May 16, 2016 12:13 pm Post subject: Re: How to Move mesaage from one queue to Another local Que |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
saddankula wrote: |
How to Move mesaage from one local queue to Another local Queue in MQ 7 version. |
(MQGET Q1, MQPUT Q2) x n, MQCMIT
There are various vendor tools that can do this for you.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
mqprimerib |
Posted: Wed May 18, 2016 6:26 am Post subject: |
|
|
Apprentice
Joined: 30 Mar 2016 Posts: 36 Location: Detroit Rock City
|
What are you trying to achieve here? Testing purposes? Or are you trying to band-aid a bad flow design? |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed May 18, 2016 4:29 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Do you have a business / functional application requirement to move a message from one queue to another, or is it an adhoc support request?
If its an app requirement, there should be an app program developed to perform the move, and take care of other MQI GET / PUT considerations, such as persistence, expiry, conversion, pass through of context / msg id / correl id, syncpoint etc. _________________ Glenn |
|
Back to top |
|
 |
md7 |
Posted: Wed May 18, 2016 11:14 pm Post subject: |
|
|
 Apprentice
Joined: 29 Feb 2012 Posts: 49 Location: Sydney.AU
|
|
Back to top |
|
 |
hughson |
Posted: Thu May 19, 2016 1:01 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Q, QLOAD, MO71 - in fact pretty much anything Paul Clarke wrote!!  _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
vsathyan |
Posted: Thu May 19, 2016 7:21 am Post subject: |
|
|
Centurion
Joined: 10 Mar 2014 Posts: 121
|
You could use MQ transfer if you want to do it in GUI mode.
http://mqclient.com/downloads.php?cat_id=2&download_id=16
Make sure you have MQ 7.5 client installed in your machine. _________________ Custom WebSphere MQ Tools Development C# & Java
WebSphere MQ Solution Architect Since 2011
WebSphere MQ Admin Since 2004 |
|
Back to top |
|
 |
|