Sorting the input data set and replacing it with the sorted data set preserves both
referential and general integrity constraints, as well as any indexes that they might
require. A sort that creates a new data set does not preserve any integrity constraints or
indexes. For more information about implicit replacement, explicit replacement, and no
replacement with and without the OUT= option, see “Output Data Set” on page 1741.
For more information about integrity constraints, see the chapter on Chapter 26, “SAS
Data Files,” in SAS Language Reference: Concepts.
Results: SORT Procedure
Procedure Output
PROC SORT ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.