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 IBM MQ Support » Urgent Help, MQAX200.dll

Post new topic  Reply to topic
 Urgent Help, MQAX200.dll « View previous topic :: View next topic » 
Author Message
rliang
PostPosted: Sun Jul 28, 2002 3:10 pm    Post subject: Urgent Help, MQAX200.dll Reply with quote

Novice

Joined: 12 Aug 2001
Posts: 14

My application is running on Win2k using MQSeries ActiveX object (MQAX200.dll) connecting to Win2k MQ server v5.2. Both client and Server are applied csd004.

I am getting error whenI try to put message to the Q, the return code is different everytime (a big number 34234234 something like that, reason code is 0), and the error cause the application stop immediately if I try to trap the error event. Althought the MQPut function seems like fail, But the messge still appear in the Q.

The following is the VBScript I used to reproduce the problem.

gQMgrName = "QM1"
gQName = "Test"
set oSession = CreateObject("MQAX200.MQSession")
set oQM = oSession.AccessQueueManager(gQMgrName)
set oQ = oQM.AccessQueue(gQName, 16)
Call oQ.Open
set oMsg = oSession.AccessMessage
set oPMO = oSession.AccessPutMessageOptions
oMsg.MessageData = "Test messsage"
oPMO.Options = 4
on error resume next
oSession.ExceptionThreshold = 1
call oQ.Put(oMsg, oPMO)
msgbox err.description
msgbox oSession.ReasonCode & " -- " & oSession.ReasonName


When I check the NT event log, in the server I saw

Error on receive from host xxx.xx.xx.xx

An error occurred receiving data from xx.xxx.xx.xx over TCP/IP. This may be due to a commuication failure. The return code from the TCP/IP (recv) Call was 10054 (x2746). Record these values and tell the system administrator.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
vjsony
PostPosted: Sun Jul 28, 2002 8:54 pm    Post subject: Reply with quote

Apprentice

Joined: 01 Aug 2001
Posts: 45

Hi rliang,

If the reason code is 0, that means the MQPUT operation was successful.

What's the return code you're referring to?

Regards,
VJ
Back to top
View user's profile Send private message Send e-mail
rliang
PostPosted: Mon Jul 29, 2002 4:35 pm    Post subject: Reply with quote

Novice

Joined: 12 Aug 2001
Posts: 14

vjsony wrote:
Hi rliang,

If the reason code is 0, that means the MQPUT operation was successful.

What's the return code you're referring to?

Regards,
VJ


The reason code is looks like a memory address (somthing like 3423444) but different every time. What I think is the MQAX200.dll did not trap the actural error somehow.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Urgent Help, MQAX200.dll
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.