When a group of observations
that have identical values for the BY statement is output, the order
of the observations in the output is the same as the data set order
because the default is BYNOEQUALS=NO. By specifying YES, the processing
time is decreased, but the observations are not guaranteed to be output
in the data set order.
The data set or LIBNAME
option BYSORT= must be YES (the default) because the BYNOEQUALS= option
has no effect when BYSORT=NO.
The following table
shows when the SPD Engine preserves physical order in the output:
SPD Engines Preserves Physical Order
|
Data Set Order Preserved?
|
|
YES (BYNOEQUALS=NO and
BYSORT=YES by default)
|
If BY is present and
BYNOEQUALS=YES
|
|
If BY is present and
BYSORT=NO
|
YES (because no automatic
sort occurs)
|
If neither BY nor WHERE
is present
|
|
|
|