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 » Problems about MTS.

Post new topic  Reply to topic
 Problems about MTS. « View previous topic :: View next topic » 
Author Message
pepine
PostPosted: Sun Oct 19, 2003 6:09 pm    Post subject: Problems about MTS. Reply with quote

Newbie

Joined: 19 Oct 2003
Posts: 2

while i am applying MTS apis, i encountered such problem.
error code is 6111 where execuate such statement::
Set PutMsg = MQSess.AccessMessage()
PutMsgStr = "12345678 " & Time
PutMsg.MessageData = PutMsgStr
Set PutOptions = MQSess.AccessPutMessageOptions()
PutOptions.Options = PutOptions.Options Or MQPMO_NO_SYNCPOINT
Queue.Put PutMsg, PutOptions

Set GetMsg = MQSess.AccessMessage()
GetMsg.MessageId = PutMsg.MessageId ** problem is here.
Set GetOptions = MQSess.AccessGetMessageOptions()
GetOptions.Options = GetOptions.Options Or MQGMO_NO_SYNCPOINT
Queue.Get GetMsg, GetOptions
*****************
environment:
client program is on Windows XP, and mqm is on RedHat 7.1
MQSeries is v5.2

Questions:
How could I solve such problem?
and any advices are welcome

thanks alot.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon Oct 20, 2003 5:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What does the documentation say about your "error code" of 6111? Is that a reason code?

Are you sure you should be using the MessageId property from Visual Basic, instead of the MessageIdHex property? Have you read the 'Using the Component Object Model Interface' manual?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Problems about MTS.
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.