|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRC 2058 |
« View previous topic :: View next topic » |
Author |
Message
|
vadivel |
Posted: Wed Apr 21, 2004 10:52 pm Post subject: MQRC 2058 |
|
|
 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 |
|
 |
mqonnet |
Posted: Thu Apr 22, 2004 4:53 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|