How would you delete observations with duplicate keys?

Answer Posted / upendra

Data <datasetname>;
Set <datasetname>;
by <var>;
If last.var;
run;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the ways in which you can create a macro variable?

818


What are the new features included in the new version of SAS Programming Language?

946


How many data types are there in SAS?

808


Mention what is SAS data set?

888


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

1049


: and & modifiers.

1080


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1877


What are the prime responsibilities of data integration administrator? : Sas-di

795


What is a pdv and what are its functions?

787


what is the primary data source for the wrs? : Sas-bi

859


What do the PUT and INPUT functions do?

996


How does proc sql work?

817


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2122


what do the pad and dim functions do? : Sas programming

777


for report generation which one you used proc report or data_null_?

7092