MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
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 Process Server (WID/WPS/WAS+)
[solved]query() using QUERY_PROPERTY.NAME for multiple prop
[solved]query() using QUERY_PROPERTY.NAME for multiple prop
View previous topic
::
View next topic
Author
Message
ProcessCentric
Posted: Thu Apr 03, 2008 7:48 am
Post subject: [solved]query() using QUERY_PROPERTY.NAME for multiple prop
Apprentice
Joined: 04 Nov 2005
Posts: 25
Location: USA
Anyone every search on multiple properties...
The IBM example shows....
"QUERY_PROPERTY.VARIABLE_NAME = 'customerClaim' AND " + "QUERY_PROPERTY.NAME = 'customerID' AND "
+ "QUERY_PROPERTY.STRING_VALUE like 'Smith%'"
but how do you qurery on two properties...
this doesn't work
(no results found when it should get results)
"(QUERY_PROPERTY.VARIABLE_NAME = 'customerClaim' AND " + "QUERY_PROPERTY.NAME = 'customerID' AND "
+ "QUERY_PROPERTY.STRING_VALUE like 'Smith%)'"
+ AND"(QUERY_PROPERTY.VARIABLE_NAME = 'customerClaim' AND " + "QUERY_PROPERTY.NAME = 'customerLocation' AND "
+ "QUERY_PROPERTY.STRING_VALUE like '01%)'"
thanks again !
Last edited by ProcessCentric on Fri Apr 04, 2008 8:31 am; edited 1 time in total
Back to top
jmac
Posted: Thu Apr 03, 2008 11:25 am
Post subject:
Jedi Knight
Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC
This is done the same way as with Custom properties. From my notes:
When using Query Properties in a WHERE clause use the following syntax:
QUERY_PROPERTY
n
.NAME='StringGDCMember' AND QUERY_PROPERTY
n
.STRING_VALUE='Joe'
Where
n is 1 to 9
Valid “VALUEs” are : DECIMAL_VALUE, GENERIC_VALUE, NUMBER_VALUE, STRING_VALUE and TIMESTAMP_VALUE
_________________
John McDonald
RETIRED
Back to top
ProcessCentric
Posted: Fri Apr 04, 2008 7:34 am
Post subject:
Apprentice
Joined: 04 Nov 2005
Posts: 25
Location: USA
that works!
thanks!
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Page
1
of
1
MQSeries.net Forum Index
WebSphere Process Server (WID/WPS/WAS+)
[solved]query() using QUERY_PROPERTY.NAME for multiple prop
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.