×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Peter,

The select will only be equivalent to the omit if one is ANDed and the
other is ORed, i.e.:

SELECT (X AND Y)
is equivalent to
OMIT (NOT X OR NOT Y)

and

SELECT (X OR Y)
is equivalent to
OMIT (NOT X AND NOT Y)

so first you have to figure out which pair will give you the results
you're looking for, and then set up your logicals accordingly.

hth,

PS: the above is basic Boolean algebra . . . .


RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> writes:
>Now I don't get it anymore...
>
>I changed both versions to have only the first 'S' or 'O', and now indeed 
>both take the same amount of time - the LONG time!
>
>This is the data that I'm processing:


Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA  01376
413-863-4357 x444
mnaughton@xxxxxxxxxxxx


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.