|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Series Commands |
« View previous topic :: View next topic » |
Author |
Message
|
Ykroc123 |
Posted: Mon Feb 04, 2002 4:39 pm Post subject: |
|
|
Newbie
Joined: 03 Feb 2002 Posts: 1
|
Two questions: (NT system)
1. Does anyone know of an amqs(****) type command that moves messages
between queues. Right now i have a java program that performs this
function but it's kind of slow and a pain to set up. I was just
wondering if there would be a command line to perform this task
instead.
2. How can you connect to a remote queue manager through the command
line. This is a simple task using MQ Explorer in windows, but can I do
it with a runmqsc command. I tried something like runmqsc -w 25 (QMGR
NAME)(IP Address)(Port) but was unsuccesful. Any insight into this
would be greatly appreciated |
|
Back to top |
|
 |
kolban |
Posted: Mon Feb 04, 2002 6:28 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
There is no supplied message mover supplied with the product. Using something like MQJExplorer (http://www.kolban.com/mqjexplorer) you could export the contents of a queue to a file and then reimport somewhere else.
To utilize the -w option of runmqsc, I am thinking that this will either need the MQSERVER environment variable specified, an AMQCHLTAB table or, and I think this is the correct guess, a default queue manager and a pair of channels between your local queue manager and the one that you wish to administer. |
|
Back to top |
|
 |
EddieA |
Posted: Tue Feb 05, 2002 1:23 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Neil,
Connecting to a remote queue manager doesn't use the Client environment.
You must run 'runmqsc' against a default queue manager, giving the Queue Manager name of the target, plus the -w option. BTW, the target CAN be an OS/390 if you use the -x option as well.
There must be a route to the target Queue Manager by means of either a Transmit queue of the same name, or a Default Transmit queue.
Cheers,
_________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
mq_tyro |
Posted: Wed Jul 10, 2002 5:32 am Post subject: |
|
|
Novice
Joined: 10 Jul 2002 Posts: 19 Location: Mumbai
|
1. If you are on OS/390, you can use MOVE command to transfer messages from one queue to another queue.
2. To use runmqsc on remote Queue Manager make sure
a) Both sending and receving queue managers are running.
b) You have Command Server running on remote machine.
c) If usning this command on OS/390, then need to specify -x option.
Thanks.  _________________ IBM Certified MQSeries Specialist |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|