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 » IBM MQ API Support » while amqsputc can do, vb sample cant do

Post new topic  Reply to topic
 while amqsputc can do, vb sample cant do « View previous topic :: View next topic » 
Author Message
pepine
PostPosted: Sun Oct 19, 2003 7:00 pm    Post subject: while amqsputc can do, vb sample cant do Reply with quote

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
View user's profile Send private message Send e-mail
rwa
PostPosted: Mon Oct 20, 2003 1:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » while amqsputc can do, vb sample cant do
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.