SAS의 sort 프로시져 이용시에 nodupkey 옵션 혹은 데이터 스텝 first.을 사용하면 됩니다.
예 1) sort 이용시
proc sort data=old out=new nodupkey;
by X Y; /* 중복되는 변수명 */
run;
예 2) first.이용시
data b;
set a;
by x;
if first.x=1;
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
View the full agenda.
Register now!
SAS 코리아 Blog
SAS Viya for Learners
SAS Academic on-demands
SAS Technical Center
SAS Contact Center
SAS 코리아 교육팀