Author |
Message
|
RadhamaniRamadoss |
Posted: Mon Jun 17, 2013 12:47 pm Post subject: mqreply node throws mqmd error |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
I am facing error when I am connecting to mqreply node.
I m setting outputroot.mqmd.replytoq and outputroot.mqmd.
Replytoqmgr.and when message flows from this compute node to
Mqreply node ,its throwing message contains mqmd in wrong position.
I have no idea why this error comes.please advice whether I am missing something
if I pass the same message to mqoutput node it works fine. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 17, 2013 12:51 pm Post subject: Re: mqreply node throws mqmd error |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
RadhamaniRamadoss wrote: |
I have no idea why this error comes.please advice whether I am missing something |
Put a Trace node just before the MQReply node. Examine the message tree. See if there's anything you're missing, paying particular attention to the placement & number of MQMD headers in your message. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
RadhamaniRamadoss |
Posted: Mon Jun 17, 2013 1:10 pm Post subject: |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
Thanks for your quick reply.actually I updated wrongly as it works in
Mqoutput node.but as I just tried now ,its not working in mqoutput node either |
|
Back to top |
|
 |
RadhamaniRamadoss |
Posted: Mon Jun 17, 2013 1:26 pm Post subject: |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
As I could see in the trace,there seems to be nothing strange in mwmd.
It has expiry as -1
Encoding
Codedcharset
Msgid as blob
Replytoq
Replytoqmgr |
|
Back to top |
|
 |
RadhamaniRamadoss |
Posted: Mon Jun 17, 2013 1:37 pm Post subject: |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
I have even added correlid .still not working.please help |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 17, 2013 2:33 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The message says that the MQMD *is in the wrong place*.
It does not say that the MQMD *has bad information*.
Use the trace node, as mentioned, to show you the structure of your Root message tree, so you can understand WHERE the mqmd is, or where MORE THAN ONE mqmd is.
Using a Trace node to find out the structure of your logical message tree is almost the FIRST thing you need to learn how to do. |
|
Back to top |
|
 |
rekarm01 |
Posted: Mon Jun 17, 2013 3:21 pm Post subject: Re: mqreply node throws mqmd error |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
RadhamaniRamadoss wrote: |
I am facing error when I am connecting to mqreply node.
I m setting outputroot.mqmd.replytoq and outputroot.mqmd.
Replytoqmgr. |
ESQL references are case-sensitive.
RadhamaniRamadoss wrote: |
its throwing message contains mqmd in wrong position. |
Enable a usertrace to determine the exact error message, explanation, and user response. |
|
Back to top |
|
 |
RadhamaniRamadoss |
Posted: Tue Jun 18, 2013 12:16 am Post subject: |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
I have used as below,
OutputRoot.MQMD.ReplyToQ
OutputRoot.MQMD.ReplyToQMgr
It was a typo before..
And when I took the user trace it says,
<--------------------------------------------------------------------------------->
2013-06-18 06:25:10.387396 6136 MessageException BIP4694E: The message received at output node 'DD_EPOS_Asynch.MQ Reply.ComIbmMQOutput' contains an MQMD at index '2' which is the wrong position; the MQMD should be at index '1'.
The WebSphere Message Broker output node 'DD_EPOS_Asynch.MQ Reply.ComIbmMQOutput' has received a message to write to WebSphere MQ, but the message contains an MQMD in the wrong position in the message. This situation can occur when an output message is built incorrectly using a Compute node.
Check the message flow to determine whether the message is being built correctly. You can use a Trace node to see how the message has been built. Correct the problem and redeploy.
<--------------------------------------------------------------------------------->
Trace node Output:
The trace node message output is as below,
<--------------------------------------------------------------------------------->
( ['MQROOT' : 0x137aed30]
(0x01000000:Name):Properties = ( ['MQPROPERTYPARSER' : 0x1376d5b0]
(0x03000000:NameValue):MessageSet = NULL
(0x03000000:NameValue):MessageType = NULL
(0x03000000:NameValue):MessageFormat = NULL
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1208 (INTEGER)
(0x03000000:NameValue):Transactional = NULL
(0x03000000:NameValue):Persistence = NULL
(0x03000000:NameValue):CreationTime = NULL
(0x03000000:NameValue):ExpirationTime = -1 (INTEGER)
(0x03000000:NameValue):Priority = NULL
(0x03000000:NameValue):ReplyIdentifier = NULL
(0x03000000:NameValue):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = NULL
(0x03000000:NameValue):IdentitySourceType = NULL
(0x03000000:NameValue):IdentitySourceToken = NULL
(0x03000000:NameValue):IdentitySourcePassword = NULL
(0x03000000:NameValue):IdentitySourceIssuedBy = NULL
(0x03000000:NameValue):IdentityMappedType = NULL
(0x03000000:NameValue):IdentityMappedToken = NULL
(0x03000000:NameValue):IdentityMappedPassword = NULL
(0x03000000:NameValue):IdentityMappedIssuedBy = NULL
)
(0x01000000:Name):MQRFH2 = ( ['MQHRF2' : 0x137bcc60]
(0x01000000:Name ):usr = (
(0x01000000:Name):RetryCount = (
(0x02000000:Value): = 1 (INTEGER)
)
(0x01000000:Name):MaxRetry = (
(0x02000000:Value): = 3 (INTEGER)
)
)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1208 (INTEGER)
(0x03000000:NameValue):Format = 'MQHMD' (CHARACTER)
(0x03000000:NameValue):Version = 2 (INTEGER)
)
(0x01000000:Name):MQMD = ( ['MQHMD' : 0x1182ac8]
(0x03000000:NameValue):Expiry = -1 (INTEGER)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1208 (INTEGER)
(0x03000000:NameValue):MsgId = X'414d5120526164514d20202020202020a904bf5120003c3d' (BLOB)
(0x03000000:NameValue):ReplyToQ = 'DD02.UPDATE_MESSAGES.GET' (CHARACTER)
(0x03000000:NameValue):ReplyToQMgr = 'RadQM' (CHARACTER)
)
(0x01000000:Name):BLOB = ( ['none' : 0xf401b8]
(0x03000000:NameValue):UnknownParserName = '' (CHARACTER)
(0x03000000:NameValue):BLOB = X'3132332c332c3132332c32303133313231322c3230313330343033' (BLOB)
)
)
<--------------------------------------------------------------------------------->
MQMD is there only once.And not sure whether the issue is because the MQMQ present in Index 2.In Index 0 - Properties;Index 1-MQRFH2.
MQMD not occuring more than once.
When I tried to use the below statement thinking that the index issue coule be fixed,I got new error as "Too many Properties folder"
SET OutputRoot = InputRoot ;
I have no clue on how to fix this.I can share if more details required on code.
Please throw some light on this...and advice.. |
|
Back to top |
|
 |
nukalas2010 |
Posted: Tue Jun 18, 2013 12:23 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
The tree structure should be in a order..
Properties
MQMD
MQRFH2
MQRFH2c
.....
... |
|
Back to top |
|
 |
McueMart |
Posted: Tue Jun 18, 2013 12:48 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
Also make sure you look at what the MQMD.Format field is for as you will have a MQRFH2 header following your MQMD. |
|
Back to top |
|
 |
RadhamaniRamadoss |
Posted: Tue Jun 18, 2013 12:51 am Post subject: |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
Ok..Let me check that and reply how it comes out...
Thanks much.. |
|
Back to top |
|
 |
RadhamaniRamadoss |
Posted: Tue Jun 18, 2013 1:40 am Post subject: |
|
|
Apprentice
Joined: 08 Oct 2009 Posts: 42
|
It works....HURRAY !!!!
I fixed created MQMD header and then MQRFH2.
It works...
Thanks for all the experts who helped me on this...
 |
|
Back to top |
|
 |
|