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 » Question regarding MA01 Support pac

Post new topic  Reply to topic
 Question regarding MA01 Support pac « View previous topic :: View next topic » 
Author Message
rahuldhanpal
PostPosted: Tue Oct 30, 2012 10:39 am    Post subject: Question regarding MA01 Support pac Reply with quote

Voyager

Joined: 24 Jan 2009
Posts: 84
Location: Kenosha WI

Hi ALL, can any one give me the right syntax when i am using MA01 support pac to move or copy messages from one queue to another queue? I understand they can be found in read me text file but i am a little confused with the following
Move messages between Queues : q -IQ1 -oQ2
Copy messages between Queues : q -iQ1 -oQ2

Question: is there a no need to mention the qmgr name in the syntax?or if we have mention qmgr name in that syntax, how would it look?

Question: I want to move or copy all messages of one queue to a target queue of the same qmgr!
Back to top
View user's profile Send private message Send e-mail
jdt
PostPosted: Tue Oct 30, 2012 12:19 pm    Post subject: Reply with quote

Newbie

Joined: 30 Oct 2012
Posts: 1

from the readme file for MA01 ...
-I<Q> The name of the Input Queue name (if any) to do destructive get
-i<Q> The name of the Input Queue name (if any) to browse

Although I am new to MQ, from what I have been taught, if there is only one queue manager running on your server, often you do not need to specify it in your command string. On the other hand, it is often better (IMHO) to be exact and specify rather than assume it knows what you want (and have it not do what you expect). So I am using the -m<Qmgr> when I use MA01 even though I am only running one queue manager on the server that I am working with.

Move vs Copy: Do you want to have the messages on both your input queue AND your output queue (copy, use -i) or have the messages leave your input queue and reside on the output queue only (move, use -I)?
Back to top
View user's profile Send private message
rahuldhanpal
PostPosted: Tue Oct 30, 2012 1:05 pm    Post subject: Reply with quote

Voyager

Joined: 24 Jan 2009
Posts: 84
Location: Kenosha WI

Ok your response does makes sense to me and i have another question


Move messages between Queues : q -IQ1 -oQ2
Copy messages between Queues : q -iQ1 -oQ2


where o is upper case alphabet in both the above scenarios?
Back to top
View user's profile Send private message Send e-mail
rahuldhanpal
PostPosted: Tue Oct 30, 2012 3:28 pm    Post subject: Reply with quote

Voyager

Joined: 24 Jan 2009
Posts: 84
Location: Kenosha WI

rahuldhanpal wrote:
Ok your response does makes sense to me and i have another question


Move messages between Queues : q -IQ1 -oQ2
Copy messages between Queues : q -iQ1 -oQ2


where o is upper case alphabet in both the above scenarios?
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Wed Oct 31, 2012 1:38 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

jdt wrote:
Although I am new to MQ, from what I have been taught, if there is only one queue manager running on your server, often you do not need to specify it in your command string.

Only true if a default queue manager has been set on the server.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 31, 2012 4:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There's a difference between a destructive get and a browse in how the message is handled. There's really no way to do a "browse put". You can only either put the message in transaction or not, you can't 'put' it without actually writing it.

So there's no way that MA01 could support the same two different types of input option with the output option.
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 » Question regarding MA01 Support pac
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.