You've learned about creating a
SAS data set from raw data. However, you might often want to create
a new data set from an existing SAS data set. To create the new
data set, you can read a data set using the DATA step. As you read
the data set, you can use all the programming features of the DATA
step to manipulate your data.
This chapter shows you how to use the DATA step to read an existing SAS data set. When you create your new data set, you can choose variables, select observations based on one or more conditions, and assign values conditionally. You can also assign variable attributes such as ...