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 Discussion » MQ Series Commands

Post new topic  Reply to topic
 MQ Series Commands « View previous topic :: View next topic » 
Author Message
Ykroc123
PostPosted: Mon Feb 04, 2002 4:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolban
PostPosted: Mon Feb 04, 2002 6:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Tue Feb 05, 2002 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
mq_tyro
PostPosted: Wed Jul 10, 2002 5:32 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » General Discussion » MQ Series Commands
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.