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 » MQRC 2058

Post new topic  Reply to topic
 MQRC 2058 « View previous topic :: View next topic » 
Author Message
vadivel
PostPosted: Wed Apr 21, 2004 10:52 pm    Post subject: MQRC 2058 Reply with quote

Voyager

Joined: 05 Aug 2002
Posts: 79
Location: US

Hi,

I'm using a c code to connect to a queue manager and I just have the exe with me. When I execute it, it returns with an error 2058 which is QMGR_NAME_ERROR.
I think the code tries to connect to the default queuemanager in the system and I have one up and running.
Can you tell me what can be the other reasons for which this kinda error can come.

Regards

Vels
Back to top
View user's profile Send private message Yahoo Messenger
mqonnet
PostPosted: Thu Apr 22, 2004 4:53 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

If the exe is your own app and not any of the MQ samples, for example, then you must verify if the queue manager name is being hardcoded within the app. If it is, which is what it sounds like, then you have NO option but to recompile the C app without the qm name and ask for the qm name as a command line arg.

Just because you are not specifying a qm name when you run your app, that being the syntax, doesnt guarantee that it is just looking for the default qm name. It could be a hardcoded name as explained above.

Also check that the qm you are trying to connect exists and that the name matches the cases.

Cheers
Kumar
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 » MQRC 2058
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.