Chapter Contents

Previous

Next
SORTDUP=

SORTDUP=



Controls the SORT procedure's application of the NODUP option to physical or logical records

Valid in: configuration file, SAS invocation, OPTIONS statement, Systems Options window
Category: Sort: Procedure options
PROC OPTIONS GROUP= SORT


Syntax
Syntax Description
See Also

Syntax

SORTDUP=PHYSICAL | LOGICAL

Syntax Description

PHYSICAL
removes duplicates based on all the variables that are present in the data set. This is the default.

LOGICAL
removes duplicates based on only the variables remaining after the DROP= and KEEP= data set options are processed.

Interactions:
The SORTDUP option is relevant only when DROP= or KEEP= data set options are specified on the input data set for the SORT procedure. The NODUP option is a SORT procedure option that removes duplicate records. For further information about how NODUP and SORTDUP interact, see the SAS Procedures Guide.


See Also

System Options:

SORTSEQ=
SORTSIZE=

The SORT Procedure in the SAS Procedures Guide


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.