SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Merging SAS Data Sets
Preparing Data for Match-Merging


Question: Suppose that one of your input data sets, Empinfo.Salesrep, is not sorted by values of the common variable to be used for match-merging.

Write a statement to invoke the SORT procedure, specify Empinfo.Salesrep as the SAS data set to be read, and create a temporary output data set named Work.Reps to store the sorted values.


           

  back||next

 

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

Terms of Use & Legal Information | Privacy Statement