Type : IMPLICITE
Die bereitgestellten Beispiele konzentrieren sich auf die Syntax der Option INDEX= und enthalten keinen expliziten Datenerstellungscode (Datalines oder SASHELP), gehen aber von der Existenz von Eingabedaten oder der Erstellung neuer Variablen aus.
| 1 | |
| 2 | DATA new(index=(ssn)); |
| 3 | /* ... more SAS code ... */ |
| 4 | RUN; |
| 5 |
| 1 | |
| 2 | DATA new(index=(cityst=(city state))); |
| 3 | /* ... more SAS code ... */ |
| 4 | RUN; |
| 5 |
| 1 | |
| 2 | DATA new(index=(ssn cityst=(city state))); |
| 3 | /* ... more SAS code ... */ |
| 4 | RUN; |
| 5 |
| 1 | |
| 2 | DATA new(index=(ssn /unique)); |
| 3 | /* ... more SAS code ... */ |
| 4 | RUN; |
| 5 |
| 1 | |
| 2 | DATA new(index=(ssn /nomiss)); |
| 3 | /* ... more SAS code ... */ |
| 4 | RUN; |
| 5 |
| 1 | |
| 2 | DATA new(index=(ssn /unique/nomiss cityst=(city state) /unique/nomiss)); |
| 3 | /* ... more SAS code ... */ |
| 4 | RUN; |
| 5 |