|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ESQL Question |
« View previous topic :: View next topic » |
Author |
Message
|
maxis |
Posted: Tue Jan 28, 2003 10:38 am Post subject: ESQL Question |
|
|
Centurion
Joined: 25 Jun 2002 Posts: 144
|
hello all,
I've spend considerable amount of time in figuring out the diff between these two lines...
SET a = "InputBody"."X" ;
SET b = InputRoot.MRM.X ;
Let me give you little bit background - am getting blob data, using ResetContent decriptor converting it to either XML or FIXED. After converting to XML - again am converting to MRM, to re-use some standard subflows which works with MRM.
The problem is If I send XML input field b is populated - and for a - it says unable to find the traverse the path .. unable to find the element so assigning NULL ..!
And for Fixed msg .. it happens exactly opposite way .... ( a is populated, b is assigned with null )
Can someone please tell .. the reason for this insane behavior ....
thanks in advance
M |
|
Back to top |
|
 |
yaakovd |
Posted: Tue Jan 28, 2003 10:55 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
InputBody = InputRoot.*[LAST ].
Check if input message has more that one child of InputRoot CARDINALITY(InputRoot.*[])). _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
lung |
Posted: Tue Jan 28, 2003 10:34 pm Post subject: |
|
|
 Master
Joined: 27 Aug 2002 Posts: 291 Location: Malaysia
|
As far as I know, if your Properties.MessageDomain is set to MRM, then there is no difference between these two lines of code...
Code: |
SET a = "InputBody"."X" ;
SET b = InputRoot.MRM.X ; |
 _________________ lung |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|