|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
2058 rise in VC program, need ur help. |
« View previous topic :: View next topic » |
Author |
Message
|
baogang |
Posted: Mon Nov 07, 2005 6:22 pm Post subject: 2058 rise in VC program, need ur help. |
|
|
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 |
|
 |
wschutz |
Posted: Mon Nov 07, 2005 6:33 pm Post subject: |
|
|
 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 |
|
 |
baogang |
Posted: Mon Nov 07, 2005 6:47 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|