× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Brian,

so you are saying that the order of select/omit plays a role?

But this doesn't make sense: the order is the same in both cases, the only
difference is that in the 'omit' case a lot of records are skipped, and in
the 'select' case a few records are selected.

Thanks anyway,

Peter



Brian Parkins <parkib@xxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/05/2004 15:39
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Difference between Select and Omit in LF






Peter, I would suggest the performance differences are to be expected - it

depends on the data.

The following is taken from the iSeries DB2 Programming Manual, (see
Select/Omit section under Logical Files):

"The fewer comparisons, the more efficient the task is. So, when you have
several select/omit
comparisons, try to specify the one that selects or omits the most records

first."

Brian Parkins





The information contained in this communication is confidential and may be 
legally privileged. It is intended solely for the use of the individual or the 
entity to whom it is addressed and others authorised to receive it. If you have 
received it by mistake, please let the sender know by e-mail reply and delete 
it from your system.
If you are not the intended recipient you are hereby notified that any 
disclosure, copying, distribution or taking any action in reliance of the 
contents of this information is strictly prohibited and may be unlawful.
Honda Europe NV is neither liable for the proper and complete transmission of 
the information contained in this communication nor for any delay in its 
receipt.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.