Example 7.1 Modifying All Observations in a Data Set in Place
Modify the values of existing variables in a data set without creating a new copy of the data set.
|Featured Step||DATA step|
|Featured Step Options and Statements||MODIFY statement|
|Related Technique||PROC SQL, UPDATE clause|
|A Closer Look||Reviewing the CONTENTS Output for a Data Set Modified with the MODIFY Statement|
Input Data Set
Data set DATACONFERENCE stores the schedule for one day of a conference. This data set is also the master data set in Example 7.2.
DATACONFERENCE Obs section starttime talktime speaker topic 1 Applications 8:00 AM 50 Brooks, Jason Customer Service 2 Data Mining 8:00 AM 50 Jones, Janet Direct Marketing 3 Statistics 8:00 AM 50 Thomas, Linda New ...