If you use PROC SORT
with SPD Server, your table is sorted. But suppose that you submit
a PROC SORT statement to sort a table that was not previously indexed,
or that was sorted on the table's BY column.
In this scenario, PROC
SORT takes advantage the fact that SPD Server sorts implicitly and
asserts BY clause ordering to the SPD Server. This process performs
the sort on the SPD Server machine, but there is still significant
I/O between the client node and the SPD Server machine. The sorted
data makes a round trip from the server machine to the client machine,
and then back again. Fortunately, the SQL pass-through facility in
SPD Server offers an extension to SQL to allow a table copy and sort
operation, all on the server machine.
To avoid inefficiency,
eliminate PROC SORT statements from your SAS jobs where possible.
Instead, make SAS procedures and DATA steps that require BY clause
processing use SPD Server's implicit sorts.