Select Records
Type comparisons, press Enter. Specify OR to start each new group.
Tests: EQ, NE, LE, GE, LT, GT, RANGE, LIST, LIKE, IS, ISNOT...
AND/OR Field Test Value (Field, Number, 'Characters', or
...)
IPROD EQ 'ABC'
AND IMECDE EQ 'O'
OR IPROD EQ 'ZXY'
AND IMECDE NE 'O'
Bottom
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ruthirapathi,
Arulanandham X
Sent: Wednesday, March 09, 2011 11:59 AM
To: Midrange Systems Technical Discussion
Subject: RE: WRKQRY ques
Thanks, I guess this is equivalent to following condition.
(PARTTYPE = '1' AND PART COST > 999) OR (PARTTYPE = '2' AND PARTCOST <
50)
I have req like below, How to put this cond in WRKQRY? Thanks in
advance
(PARTTYPE = '1' AND PART COST > 999) OR (PARTTYPE = '2' AND (PARTCOST <
50 OR PARTQTY >1000))
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Wednesday, March 09, 2011 11:38 AM
To: Midrange Systems Technical Discussion
Subject: RE: WRKQRY ques
If PARTTYPE eq '1'
And partcost GT 999
OR parttype eq '2'
And partcost LT 50
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark Walter
Sent: Wednesday, March 09, 2011 11:32 AM
To: Midrange Systems Technical Discussion
Subject: RE: WRKQRY ques
Use OR in the AND/OR
Mark D. Walter
Business to Business Data Integration Specialist Certified IBM System I
Specialist Paragon Consulting Services, Inc.
mwalter@xxxxxxxxxxxxxxx
717-764-7909 Ext. (1)26
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ruthirapathi,
Arulanandham X
Sent: Wednesday, March 09, 2011 12:04 PM
To: midrange-l@xxxxxxxxxxxx
Subject: WRKQRY ques
Hello all,
I would like to create condition with logical operator OR in WRKQRY,
could you give me an example please?
Regards
Arul
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of securities,
accuracy and completeness of information, viruses, confidentiality,
legal privilege, and legal entity disclaimers, available at
http://www.jpmorgan.com/pages/disclosures/email.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.