Directs SAS to use a specific index to match the conditions of a WHERE expression.
Valid in: | DATA and PROC steps |
Category: | User Control of SAS Index Usage |
Restrictions: | Use with input data sets only. |
Mutually exclusive with IDXWHERE= data set option. | |
Supports: | SAS data set |
specifies the name (up to 32 characters) of a simple or composite index for the SAS data set. SAS does not attempt to determine whether the specified index is the best one or if a sequential search might be more resource efficient.
Interaction | The specification is not a permanent attribute of the data set and is valid only for the current use of the data set. |
data mydata.empnew; set mydata.employee (idxname=empnum); where empnum < 2000; run;