Previous Page | Next Page

The DATASETS Procedure

INDEX CENTILES Statement


Updates centiles statistics for indexed variables.
Restriction: Must be in a MODIFY RUN group
See also: "Understanding SAS Indexes" in SAS Language Reference: Concepts

INDEX CENTILES index-1 <...index-n>
</ <REFRESH>
<UPDATECENTILES= ALWAYS|NEVER|integer>>;

Required Arguments

index-1 <..index-n>

names one or more indexes.


Options

REFRESH

updates centiles immediately, regardless of the value of UPDATECENTILES.

UPDATECENTILES=ALWAYS | NEVER | integer

specifies when centiles are to be updated. It is not practical to update centiles after every data set update. Therefore, you can specify as the value of UPDATECENTILES the percentage of the data values that can be changed before centiles for the indexed variables are updated.

The following is a list of valid values:

ALWAYS | 0

updates centiles when the data set is closed if any changes have been made to the data set index. You can specify ALWAYS or 0 and produce the same results.

NEVER | 101

does not update centiles. You can specify NEVER or 101 and produce the same results.

integer

is the percentage of values for the indexed variable that can be updated before centiles are refreshed.

Alias: UPDCEN
Default 5 (percent)

Previous Page | Next Page | Top of Page