INDEX Statement (Optional)

Indicates the status of items

Applies to: New databases

Syntax

INDEX variable-identifier = Y | N <…variable-identifier-n= Y | N> ;

Syntax Description

The INDEX statement indicates the KEY or NON-KEY status of items in the SYSTEM 2000 database. Y means that the item is indexed (KEY); N means the item is not indexed (NON-KEY). The default is NON-KEY (N).
variable-identifier can be either the SAS variable name or the positional equivalent in the LIST output, which is the number that represents the variable's place in the data file.