IntroductionThere are times when you want to modify the observations in a SAS data set without replacing the data set. You can do this in a DATA step with the MODIFY statement. Using the MODIFY statement, you can replace, delete, or append observations in an existing data set without creating an additional copy of the data. In this lesson, you learn to modify all the observations in a data set, matching observations using a BY statement, and observations located using an index.
When you modify data, it's often essential to safeguard your data and track the changes that are made. In this lesson you learn how to create integrity constraints to protect your data. You will also learn two different methods of tracking changes — audit trails and generation data sets. You use audit trails to track changes that are made to a data set in place, and you use generation data sets to track changes that are made when the data set is rebuilt. |
2 hours |
In this lesson, you learn to
|
complete the following lessons:
|