The data statement is the first line of a SAS data step program. The data statement is used to give a name to a SAS data set. Example:
data first;
input name $ age;
...
creates a SAS data set with the name of first. The name of a
SAS data set can be no more that 8 characters long with no embedded
blanks.
More than one name can be used in a data statement. The output statement can then be used to construct multiple SAS data sets in a single data step program.
The data step should be terminated by a run statement.
Copyright © 1997 by Jerry Alan Veeh. All rights reserved.