Posted: Thu Dec 30, 2004 9:19 am Post subject: ESQL Error
Apprentice
Joined: 17 Nov 2004 Posts: 30
Hi...
If I hardcode the like
SET "OutputRoot"."MRM"."SEQUENCE" = 999;
it works fine..but when I read from the inputbody like
SET "OutputRoot"."MRM"."SEQUENCE" = CAST ("InputBody"."MetadataSyncRequest"."loandata"."sequence" AS INTEGER);
OR
SET "OutputRoot"."MRM"."SEQUENCE" = InputBody"."MetadataSyncRequest"."loandata"."sequence" ;
I get the following error
DMSDVBR1.FMS ) CWF Output: Mismatch between logical definition and message tree.
Message : msg_MQWK001
Element : 101^SEQUENCE
The CWF writer has been given a message tree which does not match the logical message definition.
The elements may have been added to the message tree in the wrong order, or there may be elements missing from the message tree.
The message type or message set may be incorrect.
If the output message was assembled in a Compute node, check that the elements were added to the message in the order specified in the logical message definition.
Check that the output message contains all the elements in the logical message definition (perhaps you need to copy the entire input message to the output tree before modifying it)
Check that the output message has the correct message set and message type properties.
Check that the output message does not contain self-defining elements.
Check that any missing elements have default values defined.
Could some one please help me why the error..
Thanks in advance
Narendra _________________ Narendra
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
This means the reference to input field is not correct. Please make sure it's defined correctly. You can put a trace node in between to print the incoming request message first. You can then copy paste the field names from that trace file. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
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