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 » BASIC MQ QUERIES

Post new topic  Reply to topic
 BASIC MQ QUERIES « View previous topic :: View next topic » 
Author Message
Dalapathi
PostPosted: Wed Mar 01, 2006 10:46 am    Post subject: BASIC MQ QUERIES Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 27
Location: IBM,BANGALORE,INDIA

I NEED TO SEND MESSAGES TO TWO OR MORE QUEUE MANAGERS AT A TIME HOW DO I NEED TO CODE THE COMMAND..


(I.E)AMQSPUT REMOTEQUEUE QMGRNAME(THIS IS FOR SENDING THE MESSAGE TO ONE QUEUE MANAGER SIMILLARLY LIKE THIS IF I NEED TO SEND TO MORE THAN ONE QUEUE MANAGER HOW DO I NEED TO CODE THIS COMMAND
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
clindsey
PostPosted: Wed Mar 01, 2006 11:02 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Use amqsptl

Charlie
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Mar 01, 2006 11:04 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

Do you mean, several QMgrs on the same system? Then run amqsput via script in a loop.

Do you mean, several QMgrs on different systems? Then run amqsputc (the client version) via script in a loop.

Do you mean, out of an application, connected to one QMgr, sending messages to several QMgrs? Use distribution lists.

Specify, what you want!
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Dalapathi
PostPosted: Wed Mar 01, 2006 12:35 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 27
Location: IBM,BANGALORE,INDIA



I mean the queue managers on the same system..
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Mar 01, 2006 12:39 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can also rewrite amqsput to use threads. Then you can establish a connection to one queue manager in each thread, and in this way talk to more than one queue manager at a time.

Or you can use the MIRRORQ exit installed on one queue manager to copy messages to remote queues that will go to the othre queue managers.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Dalapathi
PostPosted: Wed Mar 01, 2006 12:46 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 27
Location: IBM,BANGALORE,INDIA

OK
I WILL TRY IT..
CAN ANYONE HELP ME IN LEARNING WRITING OF SCRIPTS ...

THAT IS THE BASICS OF HOW TO WRITE SCRIPTS ..
(THE SYNTAXES AND RULES I NEED TO FOLLOW TO CODE THEM)
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Mar 01, 2006 12:47 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please stop posting in ALL CAPS.

Scripting is dependant on what operating system you are using.

You will get better answers from your local systems administrators on how to write these scripts than from us. And they will likely come quicker.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Dalapathi
PostPosted: Wed Mar 01, 2006 1:46 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Jan 2006
Posts: 27
Location: IBM,BANGALORE,INDIA

here iam practising in writing scripts .
iam using the AIX 5.0 operating system..
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
clindsey
PostPosted: Wed Mar 01, 2006 2:09 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Did you try amqsptl?
You can put the same message to multiple queues on the same qmgr or remote qmgrs.

Charlie
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 » BASIC MQ QUERIES
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.