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

What is the differnce between SDTM 3.1.2 to 3.1.1 version

4595


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

686


what can you learn from the sas log when debugging? : Sas programming

599


What do you know about symput and symget?

717


How to create an external dataset with sas code?

578






How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?

1569


why is sas considered self-documenting? : Sas programming

672


what is the Population you used in your project, is it ITT or PP?

2168


explain the function of substr in sas? : Sas-administrator

544


What is a pdv and what are its functions?

593


How do you add a number to a macro variable? : sas-macro

536


What system options would you use to help debug a macro? : sas-macro

625


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1337


describe about metadata object? : Sas-di

615


what is the purpose of _error_? : Sas programming

599