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 » Send message from Win2000 to Mainframe and get 292 error

Post new topic  Reply to topic
 Send message from Win2000 to Mainframe and get 292 error « View previous topic :: View next topic » 
Author Message
hliu
PostPosted: Mon Nov 04, 2002 11:04 am    Post subject: Send message from Win2000 to Mainframe and get 292 error Reply with quote

Newbie

Joined: 04 Nov 2002
Posts: 3

Hi all,
I am trying to send a message from MQSeries on windows-2000
using MQAX200 to Mainframe. This message is supposed to trigger an IMS process. On Mainframe, the msg is always found in the dead letter queue and with a feedback code of 292 which means "A segment length field was negative in the application data of the message". I am unable to make anything out of this. I am using ActiveX to pass a valid string . If any of you can throw some light, it will be greatly appreciated. I am a novice to MQSeries and have been grappling with this problem for quite sometime now. Here is some part of my code:

m_PutMsg = m_MQSess.AccessMessage()
m_PutMsg.MessageData = msg
m_PutMsg.ReplyToQueueManagerName = "MQVOSE"
m_PutMsg.ReplyToQueueName = m_GetQueueName
m_PutMsg.CorrelationId = New String("1", 24)
m_PutMsg.Priority = -1
m_PutMsg.Persistence = 1
m_PutMsg.PutApplicationType = 19
m_PutMsg.DataOffset = 0
m_PutMsg.Format = MQAPIConst.MQFMT_STRING

m_PutOptions = m_MQSess.AccessPutMessageOptions()
m_PutOptions.Options = m_PutOptions.Options Or
MQAPIConst.MQPMO_NO_SYNCPOINT

m_PutMqueue.Put(m_PutMsg, m_PutOptions)

I think it's highly possible I missed some message description value, but I don't know what I missed.
Thanks
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Nov 07, 2002 5:11 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Are you putting to an OTMA Bridge MQ queue, or to a regular MQ queue that has triggering turned on to start a TCODE?
_________________
Peter Potkay
Keep Calm and MQ On
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 » General IBM MQ Support » Send message from Win2000 to Mainframe and get 292 error
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.