Author: mistah kurtz
Posted: Wed Sep 21, 2016 3:35 pm (GMT 5.5)
Why this is a lengthy-inefficient approach, if datasets are not already sorted?
Posted: Wed Sep 21, 2016 3:35 pm (GMT 5.5)
Abid Hasan wrote: |
A lengthy-inefficient approach, but will get the job done: pad a sequence number to the dataset whose records you donot want SORTED, using INREC coupled with a JOINKEYS CONTROL statement. Now, replace your OPTION COPY with a SORT FIELDS on the sequence number you added earlier; drop these sequence numbers in your BUILD statements. |
Why this is a lengthy-inefficient approach, if datasets are not already sorted?