Reading Raw Data |
Writing the DATA Step Program |
Naming the Data Set
The DATA statement indicates the beginning of the DATA step and names the SAS data set to be created. |
To do this... | Use this SAS statement... |
Reference SAS data library | |
Reference external file | |
Name SAS data set | DATA statement |
General form, basic DATA statement:
where SAS-data set is the name (libref.filename) of the data set to be created. |
Remember that the SAS data set name is a two-level name. For example, the two-level name Clinic.Admit specifies that the data set Admit is stored in the permanent SAS data library that is assigned the libref Clinic. |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.