How would you delete observations with duplicate keys?

Answer Posted / siddu

proc sort data=<master dataset> out=(newdata set name>
nodup key;
by <key variable>;
run;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you include common or reuse to be processed along with your statements?

2122


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

900


what other sas products have you used and consider yourself proficient in using? : Sas programming

883


Have you used macros? For what purpose you have used? : sas-macro

803


Approximately what date is represented by the SAS date value of 730?

970


what is proc Index? and what is proc document?

2226


What was the last computer book you purchased? Why?

2086


What are SAS/ACCESS and SAS/CONNECT?

857


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

769


What is the maximum length of the macro variable? : sas-macro

848


What is the order of application for output data set options, input data set options and SAS statements?

1297


What do the mod and int function do? : Sas programming

818


Describe a time when you were really stuck on a problem and how you solved it?

2304


Give some examples where proc report’s defaults are same as proc print’s defaults?

881


What’s the difference between var b1 – b3 and var b1 — b3?

1054