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 » 2058 rise in VC program, need ur help.

Post new topic  Reply to topic
 2058 rise in VC program, need ur help. « View previous topic :: View next topic » 
Author Message
baogang
PostPosted: Mon Nov 07, 2005 6:22 pm    Post subject: 2058 rise in VC program, need ur help. Reply with quote

Newbie

Joined: 07 Sep 2005
Posts: 6

Hi , 2058 error also.

I have checked posts here to find solutions on client\server connection .

It's no error when I use amqsputc in Dos enviroment .

and then , I use my program(VC6) try to connect then same QM , but 2058 rise .

How could this happen ? I know the name of QM is case sensitive , so I double - check this . Also , the listener is also running on Server.

Plz .......................

Code below :

Code:


ImqQueueManager *qmgr=new ImqQueueManager("PAID_QMCITI");

             qmgr->setName("PAID_QMCITI");

             if(qmgr->connect())

             {

                    MessageBox("successful");

             }

             else

             {

                    long l=qmgr->reasonCode();

             }

delete qmgr;

Back to top
View user's profile Send private message MSN Messenger
wschutz
PostPosted: Mon Nov 07, 2005 6:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Are you using MQSERVER environment variable or a client channel table?

2058 means that you can connect to the qmgr, but the name you specified on the connect doesn't match the real qmgr name
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
baogang
PostPosted: Mon Nov 07, 2005 6:47 pm    Post subject: Reply with quote

Newbie

Joined: 07 Sep 2005
Posts: 6

Yeah , I have set MQServer enviroment in OS(WinXP).

I can use amqsputc command to send msg to MQ Server.

Where can I set the client channel table ??
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » 2058 rise in VC program, need ur help.
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.