Posted: Fri Nov 16, 2007 9:34 am Post subject: reason code 2059
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.
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