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 » Conditional to check 2 values in the mapping editor?

Post new topic  Reply to topic
 Conditional to check 2 values in the mapping editor? « View previous topic :: View next topic » 
Author Message
gs
PostPosted: Tue Feb 10, 2009 2:26 am    Post subject: Conditional to check 2 values in the mapping editor? Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

Hi,

I'm trying to configure an if statement to check two source values. This looks like a no-brainer but is it even possible to do something like this?

Code:
$source/tns1:root/tns1:value1 eq "new" AND $source/tns1:root/tns1:value2 eq "approved"


I've tried various combinations of parenthesis and different operators AND/&& etc but no success.
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Tue Feb 10, 2009 3:20 am    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

conditional operators 'and' and 'or'. Please note that these are case sensitive. Also the assignment operator for equals is '='
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
gs
PostPosted: Tue Feb 10, 2009 5:20 am    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

Thanks a lot, I'd missed the case sensitivity
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 » Conditional to check 2 values in the mapping editor?
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.