|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
while amqsputc can do, vb sample cant do |
« View previous topic :: View next topic » |
Author |
Message
|
pepine |
Posted: Sun Oct 19, 2003 7:00 pm Post subject: while amqsputc can do, vb sample cant do |
|
|
Newbie
Joined: 19 Oct 2003 Posts: 2
|
qmgr is on Linux RedHat 7.1, and a vb sample program is on XP,
I have configured the mqm very correctly so that amqsputc can put message into the queue.
however, when i wanna run the vb sample program , it always told me error code 2058. jesus
what is the problem,
any advices are welcome, and thanks alot sincerely... |
|
Back to top |
|
 |
rwa |
Posted: Mon Oct 20, 2003 1:08 am Post subject: |
|
|
Voyager
Joined: 22 Jan 2002 Posts: 76 Location: Duesseldorf/Germany
|
Hi pepine,
error code 2058 points to a configuration problem in your case asuming that the vb sample program uses the correct queue manager name. Also a listener has to run for the queue manager.
The vb sample program needs to know the route to the server. This can be achived using the environment variable MQSERVER.
example:
MQSERVER=SYSTEM.DEF.SVRCONN/TCP/linux(1414)
SYSTEM.DEF.SVRCONNN => names the server connection channel (this channel is created as default)
linux => hostname or ip-address of the linux server
(1414) => port number of the listener of the queue manager
Regards,
Rainer |
|
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
|
|
|
|