ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to Move mesaage from one queue to Another local Queue

Post new topic  Reply to topic
 How to Move mesaage from one queue to Another local Queue « View previous topic :: View next topic » 
Author Message
saddankula
PostPosted: Mon May 16, 2016 9:11 am    Post subject: How to Move mesaage from one queue to Another local Queue Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon May 16, 2016 9:16 am    Post subject: Re: How to Move mesaage from one queue to Another local Que Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon May 16, 2016 9:19 am    Post subject: Re: How to Move mesaage from one queue to Another local Que Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon May 16, 2016 9:25 am    Post subject: Re: How to Move mesaage from one queue to Another local Que Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon May 16, 2016 10:00 am    Post subject: Re: How to Move mesaage from one queue to Another local Que Reply with quote

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
View user's profile Send private message
hughson
PostPosted: Mon May 16, 2016 12:13 pm    Post subject: Re: How to Move mesaage from one queue to Another local Que Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1916
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
View user's profile Send private message Visit poster's website
mqprimerib
PostPosted: Wed May 18, 2016 6:26 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2016
Posts: 34
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
View user's profile Send private message
gbaddeley
PostPosted: Wed May 18, 2016 4:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2501
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
View user's profile Send private message
md7
PostPosted: Wed May 18, 2016 11:14 pm    Post subject: Reply with quote

Apprentice

Joined: 29 Feb 2012
Posts: 49
Location: Sydney.AU

Qload?
Back to top
View user's profile Send private message
hughson
PostPosted: Thu May 19, 2016 1:01 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1916
Location: Bay of Plenty, New Zealand

md7 wrote:
Qload?

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
View user's profile Send private message Visit poster's website
vsathyan
PostPosted: Thu May 19, 2016 7:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to Move mesaage from one queue to Another local Queue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.