11-29-2015 04:04 PM
This is probably really simple but I am having a bit of trouble getting it to work so thought I would ask
I need to create a new data set that omits observations if they are present in a previous data set.
Old Data Set
New Data Set
Thanks for any and all help with this.
11-29-2015 08:17 PM
You can get the output by merge statement
proc sort data=source; by name; run; proc sort data=old; by name; run; data new; merge source(in=a) old(in=b); by name; if a and not b; run;