|
View previous topic :: View next topic
|
| Author |
Message |
Narayanan Annamalai
New User
Joined: 20 Jan 2012 Posts: 6 Location: India
|
|
|
|
Both Include and Omit condition could be used to cater the same purpose for several occasions.
For instance,
A) SORT FIELDS=COPY
INCLUDE COND=(1,5,CH,NE,C'XXXXX')
B) SORT FIELDS=COPY
OMIT COND=(1,5,CH,EQ,C'XXXXX')
Which one is more efficient usage and why ? |
|
| Back to top |
|
 |
vasanthz
Global Moderator

Joined: 28 Aug 2007 Posts: 1753 Location: Tirupur, India
|
|
| Back to top |
|
 |
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
I also don't think performance is affected.
INCLUDE NE is less "natural" than OMIT EQ, in my opinion. I would write the one which is most easy to understand in the particular situation. |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
| Quote: |
Both Include and Omit condition could be used to cater the same purpose for several occasions.
Which one is more efficient usage and why ? |
They are equal in efficiency. |
|
| Back to top |
|
 |
|
|