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 » General Discussion » reason code 2059

Post new topic  Reply to topic
 reason code 2059 « View previous topic :: View next topic » 
Author Message
vald
PostPosted: Fri Nov 16, 2007 9:34 am    Post subject: reason code 2059 Reply with quote

Novice

Joined: 16 Nov 2007
Posts: 17

I am using Local queue on Windows. Could I do without MQSERVER and without defining server Channel?

My first attempt was:
Using MQ 6.0 on Windows XP Pro
I have 2 queue managers on the claster.
I compiled IBM sample for MQGET
and run it.

The error message that I got:


Sample AMQSGET0 start
MQCONN ended with reason code 2058

Then I read your post
run in Command prompt:
MQSERVER=CHANNEL/TCP/HOSTNAME(1414)
and then
amqsget0 RQ QM

Now received
Sample AMQSGET0 start
MQCONN ended with reason code 2059

Does anybody know is this error because there is the default claster
for queue managers on MQ 6.0 and how to fix it quickly?

IBM Documentation says:


RC2058(2058)
Explanation:
On an MQCONN or MQCONNX call, the value specified for the QMNAME
parameter is not valid or not known. This reason also occurs if the
parameter pointer is not valid. (It is not always possible to detect
parameter pointers that are not valid; if not detected, unpredictable
results occur.)


This reason code can also occur if an MQ client application attempts
to connect to a queue manager within an MQ-client queue manager group
(see the QMNAME parameter of MQCONN), and either:


Queue-manager groups are not supported.
There is no queue manager group with the specified name.
Completion Code:
CCFAIL


Programmer Response:
Use an all-blank name if possible, or verify that the name used is
valid.
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Nov 16, 2007 10:59 am    Post subject: Re: reason code 2059 Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

vald wrote:
I am using Local queue on Windows. Could I do without MQSERVER and without defining server Channel?


If everything is local, you can just connect using bindings mode. Try using amqsput not amqsputC.

The 2058 error usually means you have the wrong queue manager name.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » reason code 2059
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.