|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
AMQSPUTC AND ENV VARIABLE |
« View previous topic :: View next topic » |
Author |
Message
|
shashivarungupta |
Posted: Wed Oct 28, 2009 12:33 pm Post subject: AMQSPUTC AND ENV VARIABLE |
|
|
 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 |
|
 |
mqjeff |
Posted: Wed Oct 28, 2009 12:36 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What does the "c" in amqsputc mean?
That answers everything. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Oct 28, 2009 12:40 pm Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Wed Oct 28, 2009 3:58 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|