|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSERVER var on 400 (iSeries) |
« View previous topic :: View next topic » |
Author |
Message
|
dod |
Posted: Mon May 27, 2002 3:05 am Post subject: MQSERVER var on 400 (iSeries) |
|
|
Newbie
Joined: 15 Apr 2002 Posts: 4
|
On other platforms (non-AS/400) you can use the MQSERVER environment variable to control the server connection. Is there any similar way to do this on the 400? i.e. I don't want to connect to the default server, AND, I don't want to code the queue manager name in the MQCONN call. |
|
Back to top |
|
 |
StefanSievert |
Posted: Mon May 27, 2002 11:42 am Post subject: Re: MQSERVER var on 400 (iSeries) |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
dod wrote: |
On other platforms (non-AS/400) you can use the MQSERVER environment variable to control the server connection. Is there any similar way to do this on the 400? i.e. I don't want to connect to the default server, AND, I don't want to code the queue manager name in the MQCONN call. |
The MQSERVER variable is honored by the MQClient code only. There is no MQClient support on AS/400, hence no MQSERVER variable.
You have to either specify the queue manager name on the MQCONN call or be happy with the default queue manager.
You, of course, don't have to (and shouldn't) hardcode any MQ object names in your applications, but instead read them from a condiguration file/database. iSeries experts out there (I am anything else but that ) may be able to give you hints and tips better than I am.
Cheers,
Stefan _________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
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
|
|
|
|