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 » AMQSPUTC

Post new topic  Reply to topic
 AMQSPUTC « View previous topic :: View next topic » 
Author Message
offshore
PostPosted: Thu Oct 14, 2004 9:33 am    Post subject: AMQSPUTC Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

All,


I thought I had done this before (Windows box), but perhaps not.

Is it possible to use AMQSPUTC to put a message on a queue on a remote queue manager?

For example: On my machine I have mq running with QMGRX

But I want to connect to QMGRZ and put a message.

I thought the syntax was AMQSPUTC Q.1 QMGRZ, but that isn't working.

Any help would be appreciated.
Back to top
View user's profile Send private message Send e-mail
kingsley
PostPosted: Thu Oct 14, 2004 9:36 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

Offshore,

Need to set client channel table with environment variabels

or

MQServer Variable

or

Change the program to use MQConnx.

Kingsley
Back to top
View user's profile Send private message Visit poster's website
mqsha
PostPosted: Thu Oct 14, 2004 9:52 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2004
Posts: 17

amqsputc is for Client. If you have MQServer installed on your system use amqsput to the remote queue on your system. or export the channel table from other server. or set the MQSERVER variable.
Back to top
View user's profile Send private message
offshore
PostPosted: Thu Oct 14, 2004 10:13 am    Post subject: Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

Is there a book or something I can read to get a better grasp on this..something isn't clicking.


On my machine I have MQServer installed and I administer "X" number of machines. Once in a while I have to put a test message on a queue from a specific qmgr.

I see using the SET MQSERVER=channel/tcp/ip(port), but what about multiple entries.

Can you define multiple definitions are does the set command need performed each time??

Currently, I have to terminal into that server and issue the amqsput cmd.

I would like a work around for that. I can't use the MMC MQ Explorer for this function because they're cluster and your cannot do the right click put message deal.

THNX for the reponses so far.
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Thu Oct 14, 2004 10:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You can look at the clients manual for more information. It sounds like you need to build a client connection table that has an entry in it for every one of your qmgrs. You could then use this rather than setting the MQSERVER every time you wanted to connect to a different qmgr.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
offshore
PostPosted: Thu Oct 14, 2004 10:50 am    Post subject: Reply with quote

Master

Joined: 20 Jun 2002
Posts: 222

Ok,

I got it working now or again...something like that.


I had to add the MQCHLLIB & MQCHLTAB variables (then reboot)

Now I just have to finish defining all my client connection channels to connect to the queue managers.

Thanks Everybody (with my Dr. Nick Riviera accent)

Offshore
Back to top
View user's profile Send private message Send e-mail
mqsha
PostPosted: Fri Oct 15, 2004 5:06 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2004
Posts: 17

If the client is connected more than one qmgr on different systems.
create a serverconnection and client connection channel on server with the connection name(Server). Ftp those amqchl.tab to client
so that ur client can able to connect differnt queue manager using different channel table.
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 » AMQSPUTC
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.