Tuesday, June 16, 2009

How would you code a merge that will keep only the observations that have matches from both sets.

data c;
merge a(in=ina) b(in=inb);
by commonvar;
if ina and inb;
run;

No comments:

Post a Comment