Labels

Saturday, August 14, 2010

find duplicated data and put them into a different file

*using the First Last varialbes of group;
*first.group=last.group means there is only one record within that group;

data single dup;
set temp;
by group;
if first.group and last.group then output single;
else output dup;
run;

No comments:

Post a Comment