Author: sergeyken
Subject: Re: Reply to: Comparex utility to Syncsort conversion
Posted: Wed Aug 10, 2016 10:47 pm (GMT 5.5)
When using surely unsorted input file just do not use SORTED option in your JOINKEYS statement.
If you expect the input file must be sorted, then use SORTED option to improve performance, but don't use NOSEQCK. In case the input key order is wrong you'll get an error message. NOSEQCK bypasses verification of input key sequence, and it MAY give unpredictable results without notification.
The performance improvement provided by NOSEQCK is miserable; there is no need to use it, ever.
Subject: Re: Reply to: Comparex utility to Syncsort conversion
Posted: Wed Aug 10, 2016 10:47 pm (GMT 5.5)
Bill Woodger wrote: |
Be very aware that if you use unsorted data for a JOINKEYS you may get unexpected results. |
When using surely unsorted input file just do not use SORTED option in your JOINKEYS statement.
If you expect the input file must be sorted, then use SORTED option to improve performance, but don't use NOSEQCK. In case the input key order is wrong you'll get an error message. NOSEQCK bypasses verification of input key sequence, and it MAY give unpredictable results without notification.
The performance improvement provided by NOSEQCK is miserable; there is no need to use it, ever.