Author |
Message
|
Trainee |
Posted: Thu Nov 09, 2006 12:06 pm Post subject: MA01 |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Hi Every one,
I am able to move the messages using MA01 on same queue manager,different queue managers on the same server using the following commands.
q -m TESTQM -I INQ -o OUTQ
q -xb -m TESTQM -IINQ -m TESTQM2 -oOUTQ -p2O
Any one know why we need -p2O
Can I move the messages to queue manager on differenet Server using MA01?
Is any one can suggest any other tool to do it effeciently.
Thank you
Trainee |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 10, 2006 12:36 am Post subject: Re: MA01 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Trainee wrote: |
Any one know why we need -p2O
|
Why do you think you need it? What does the documentation say that opition does?
Trainee wrote: |
Can I move the messages to queue manager on differenet Server using MA01?
|
Again, what does the program documentation say about this?
Trainee wrote: |
Is any one can suggest any other tool to do it effeciently.
|
As a one off task? As a scheduled activity? As part of problem resolution? When?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Trainee |
Posted: Mon Nov 13, 2006 2:25 pm Post subject: Thanks for reply |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
What I understood from documentation we can not move the messages to other queue manger on different server using MA01 .Just I thought it is good to confirm from the mqseries.net experts if I am wrong.
I need to have this messages on different queue manger for a record purpose sometimes to reprocess them in case of failure in later steps.
regarding the option -p2O I don't understand from documentation
Thanks.
Trainee |
|
Back to top |
|
 |
vennela |
Posted: Mon Nov 13, 2006 4:45 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
qc program should be able to connect to qmgrs on a different machine |
|
Back to top |
|
 |
wschutz |
Posted: Mon Nov 13, 2006 5:32 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
According to the readme for "q":
Quote: |
13th March 2006 Version 4.4.1 -> 4.5
Addition of the ability to connect to two different Queue Managers
at the same time. This allows messages to be copied or moved
between Queue Managers. For example q -m QM1 -iQ1 -m QM2 -oQ2
Addition of some more help text and help search
|
_________________ -wayne |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 14, 2006 12:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
And from the same source:
Quote: |
-p<Interval>
Number of messages after which an MQCMIT is taken. If not
specified message operations are not under syncpoint. |
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Trainee |
Posted: Tue Nov 14, 2006 10:02 am Post subject: Thanks |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thanks to every one for your replies.
But ,Vennela how come I don't see any command to send the message to another queue manager on different machine or Do we need to set some parameters
Do you think this command will work to move messages but It didn't work for me.
q -xb -m TESTQM -IINQ -m TESTQM2 -oOUTQ -p2O
Trainee |
|
Back to top |
|
 |
bbburson |
Posted: Tue Nov 14, 2006 10:53 am Post subject: Re: Thanks |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
Trainee wrote: |
Thanks to every one for your replies.
But ,Vennela how come I don't see any command to send the message to another queue manager on different machine or Do we need to set some parameters
Do you think this command will work to move messages but It didn't work for me.
q -xb -m TESTQM -IINQ -m TESTQM2 -oOUTQ -p2O
|
vennela wrote: |
qc program should be able to connect to qmgrs on a different machine |
qc is not the same as q |
|
Back to top |
|
 |
Trainee |
Posted: Wed Nov 15, 2006 11:27 am Post subject: Thank you |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thank you bbbruson.I will try that out
Trainee |
|
Back to top |
|
 |
|