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 » WebSphere Message Broker (ACE) Support » ESQL Question

Post new topic  Reply to topic
 ESQL Question « View previous topic :: View next topic » 
Author Message
maxis
PostPosted: Tue Jan 28, 2003 10:38 am    Post subject: ESQL Question Reply with quote

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
View user's profile Send private message
yaakovd
PostPosted: Tue Jan 28, 2003 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
lung
PostPosted: Tue Jan 28, 2003 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL Question
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.