This is Argyn's blog. I comment on topics of my interests such as software, math, finance, and music. Also, I write about local events in Northern Virginia, USA and all things related to Kazakhstan

Monday, September 11, 2006

Introduction to merging in SAS

So to keep only the matches in the match-merge above, ask for the IN= variables and use them: data three; merge one(in=x) two(in=y); /* x & y are your choices of names */ by id; /* for the IN= variables for data */ if x=1 and y=1; /* sets one and two respectively */ run;


No comments: