SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Merging SAS Data Sets
Match-Merge Processing


Question: The data sets Payroll.Employee and Payroll.Accounts both contain a variable named Division. What happens to the variable in the output data set when the two data sets are merged?
 
Division has the length of Division in the first data set in the MERGE statement.
Division has the length of Division in the last data set in the MERGE statement.
Division appears twice in the output data set.
The length of Division changes depending on which data set contributes a given value.


  back||next

 

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

Terms of Use & Legal Information | Privacy Statement