If you use PROC SORT
with SPD Server, your table is sorted. However, you should understand
a few things first. For example, assume 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.
PROC SORT takes advantage
of SPD Server sorting implicitly and asserts BY clause ordering to
the SPD Server. This 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.