SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Merging SAS Data Sets
Renaming Variables


Question: Add a data set option to Reps to rename the variable Office to OfficeNumber.


data mergdata.emppay;
   merge reps 
         empinfo.sales empinfo.bonuses;
   by id;
run;

           

  back||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement