Author |
Message
|
Trainee |
Posted: Mon Oct 13, 2008 12:57 pm Post subject: MA01 Question |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
We are using 'q' program to move the messages from one queue to another queue on same Qmgr on AIX Server .
Can we move the messages from One Qmgr on One Server to another Qmgr on another Server using 'q' program.Do you guys suggest any another program to do the same.Please let me know.
Thank you
Trainee. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Oct 13, 2008 3:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
|
Back to top |
|
 |
Trainee |
Posted: Tue Oct 14, 2008 3:14 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Hi gbaddeley,
Thanks for reply I checked MO03.I didn't see an option which actually moves from one qmgr on one server to another qmgr on another server.
I checked support pacs too.Any body has any idea.
Thank you
Trainee |
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 14, 2008 3:23 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MO71 has a feature that allows messages to be picked off queues, either selectively or in a block, and forwarded to a different queue and queue manager. _________________ 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 |
|
 |
mqjeff |
Posted: Tue Oct 14, 2008 3:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you took ten minutes to read the documentation that comes with MA01, the 'q' program, you would not ask this question.
Please try harder. |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Oct 14, 2008 4:14 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Trainee wrote: |
Hi gbaddeley,
Thanks for reply I checked MO03.I didn't see an option which actually moves from one qmgr on one server to another qmgr on another server.
I checked support pacs too.Any body has any idea.
Thank you
Trainee |
It can't move msgs from qmgr 1 to qmgr 2 in a single operation. Get smart: Unload from qmgr 1 to a file, load into qmgr 2 from the file, clear the queue on qmgr 1 (MQSC command CLEAR QLOCAL). _________________ Glenn |
|
Back to top |
|
 |
Trainee |
Posted: Wed Oct 15, 2008 8:13 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Hi mqjeff,
I gone through the document .But I could not able to figure it out .When I ran q program I am seeing option 'm' which meant for local qmgr only.I am not sure.I searched for hostname ,ip,remote qmgr etc.I did't find it.
If you know please let me know.
Write to a queue : q -oQ1
Write to two queues (Dist list) : q -oQ1 -oQ2
Read from a queue : q -IQ1
Browse from a queue : q -iQ1
Show Message Descriptor : q -iQ1 -dd3
Wait for messages : q -IQ1 -w60
Move messages between Queues : q -IQ1 -oQ2
Copy messages between Queues : q -iQ1 -oQ2
[-m LocalQueueManager]
Thank you
Trainee |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Oct 15, 2008 8:32 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
You could just define a remote queue in your local queue manager to point to your target queue in the target queue manager. Of course you will need to define the approriate channels and transmission queue, but it should work.
Alternatively do as someone else suggested...offload the messages to a file and then import them into your target queue. |
|
Back to top |
|
 |
|