which observation is kept if you use nodupkey
Re: Difference between NOdup and NoDupkey..?? NODUP will delete duplicated observations (records that are identical to each other) while NODUPKEY will delete those observations that have duplicate BY values (the sort BY variables that you name in PROC SORT). From @Cynthia_sas: Here are just a few of the papers and Tech Support notes on the subject: