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 » AMQSPUTC AND ENV VARIABLE

Post new topic  Reply to topic
 AMQSPUTC AND ENV VARIABLE « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Wed Oct 28, 2009 12:33 pm    Post subject: AMQSPUTC AND ENV VARIABLE Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Hi,

From IBM Help, we can see following about amqsput and amqsputc:
"If a queue manager is not specified, amqsput connects to the default queue manager and amqsputc connects to the queue manager identified by an environment variable"

I was checking with amqsputc, while setting one of the queue managers in a node as default. I can see 'DefaultQueueManager' name as TEST (my demo queue manager name) under 'Configuration' in 'Registry' on windows.

To check the environment variables I hit : set command on command prompt, but can not see the any familiar env. variable having TEST as the name of default queue manager.

Now the question is : how amqsputc would look at queue manager name ? OR which is the ENV variable is to be set to achieve that ?

Thanks in advance.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Oct 28, 2009 12:36 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What does the "c" in amqsputc mean?

That answers everything.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Oct 28, 2009 12:40 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Got it. 'c' = client.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Wed Oct 28, 2009 3:58 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Refer to the WMQ Clients manual for environment variables required to execute client applications.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 Discussion » AMQSPUTC AND ENV VARIABLE
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.