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 » Filter node

Post new topic  Reply to topic
 Filter node « View previous topic :: View next topic » 
Author Message
Rajumss
PostPosted: Mon Mar 27, 2006 2:21 pm    Post subject: Filter node Reply with quote

Newbie

Joined: 27 Mar 2006
Posts: 3

Hi All

i am using a filter node in my flow , in my Esql code , i am specifing as

Body.Emp.Ename.Eno>=10 then

----
----

But my Input Message is

Body.Emp.Eno>=10 then
----
-----

if u see Ename is missing in the input message.

In this case to which terminal the output message is routed(true,false,Unknow or failure)


Please come out with ur suggestions


Thanks in advance.
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Mar 27, 2006 2:30 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Can you post the whole of the ESQL in the Filter node, and the version of the broker you are using please...
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
JT
PostPosted: Mon Mar 27, 2006 7:12 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

An expression that evaluates to NULL, as yours does, will be directed to the UNKNOWN terminal.
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Mar 28, 2006 1:38 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,

I agree that if the final filter expression evaluates to NULL then it will go to the unknown terminal. I was just wondering if in the full ESQL there was an IF before the expression shown above, and an ELSEIF below, which if it were so, may change where the msg will end up.

Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.


Last edited by mgk on Tue Mar 28, 2006 6:39 am; edited 1 time in total
Back to top
View user's profile Send private message
Rajumss
PostPosted: Tue Mar 28, 2006 6:03 am    Post subject: Filter node Reply with quote

Newbie

Joined: 27 Mar 2006
Posts: 3

Hi All

Nice to see your suggestions

i am using MB 6.0 , My Esql is as follows

If Body.EMP.ENAME.ENO <=10 then

return True

Else

Return False

End If

-----

But My Input Message is

<EMP><ENO>5</ENO></EMP>

ENAME is missing from my Input

In this case to which terminal the output message is routed(true,false,Unknow or failure)
Back to top
View user's profile Send private message
Bill.Matthews
PostPosted: Tue Mar 28, 2006 6:24 am    Post subject: Re: Filter node Reply with quote

Master

Joined: 23 Sep 2003
Posts: 232
Location: IBM (Retired)

Rajumss wrote:
Hi All

Nice to see your suggestions

i am using MB 6.0 , My Esql is as follows

If Body.EMP.ENAME.ENO <=10 then

return True

Else

Return False

End If

-----

But My Input Message is

<EMP><ENO>5</ENO></EMP>

ENAME is missing from my Input

In this case to which terminal the output message is routed(true,false,Unknow or failure)


In this example, the False exit is used since your expression and the data would take the Return False route.
_________________
Bill Matthews
Back to top
View user's profile Send private message
JT
PostPosted: Tue Mar 28, 2006 6:33 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

UNKNOWN
Back to top
View user's profile Send private message
Rajumss
PostPosted: Tue Mar 28, 2006 7:55 am    Post subject: Filter node Reply with quote

Newbie

Joined: 27 Mar 2006
Posts: 3

Hi Guys

When does a message will routed to Failure terminal , give out your answer with an example.
Back to top
View user's profile Send private message
JT
PostPosted: Tue Mar 28, 2006 9:32 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

An error encountered during a database call will be directed to the FAILURE terminal.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 28, 2006 9:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The node's terminals are true, false, unknown, and failure; the message is propagated to the true terminal if the test succeeds, and to the false terminal if it fails. If the statement cannot be resolved (for example, it tests the value of a field that does not appear in the input message), the message is propagated to the unknown terminal. If any other error is detected, the message is propagated to the failure terminal.
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Filter node
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.