![]() Chapter Contents |
![]() Previous |
![]() Next |
| INDEX= |
| Valid in: | DATA step and PROC step |
| Category: | Data set control |
| Restriction: | Use with output data sets only. |
| Syntax | |
| Syntax Description | |
| Examples | |
| Example 1: Defining a Simple Index | |
| Example 2: Defining a Composite Index | |
| Example 3: Defining a Simple and a Composite Index | |
| See Also | |
Syntax |
| INDEX=(index-specification-1 ...<index-specification-n>) |
| index <= (variable(s)) > </UNIQUE> </NOMISS> |
| Examples |
The following INDEX= data set option defines a simple index for the SSN variable:
data new(index=(ssn));
data new(index=(cityst=(city state)));
data new(index=(ssn cityst=(city state)));
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.