Posted: Sun Oct 19, 2003 6:09 pm Post subject: Problems about MTS.
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
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.
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