How would you delete observations with duplicate keys?

Answer Posted / mohan reddy

proc sort data=work.abc nodupkey;
by eno;
run;

when u have delete duplicatie obervation from dataset. u can
use the nodupkey along with the by variable.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways to overcome a missing values???

2323


Differentiate between ceil and floor functions.

648


What is the work of tranwrd function?

656


State the difference between INFORMAT and FORMAT ?

584


How do you debug and test your SAS programs?

1037






What are the different types of sas functions?

601


Name few SAS functions?

660


What are the automatic variables for macro? : sas-macro

666


Can you execute macro within another macro? : sas-macro

515


explain the main difference between the nodup and nodupkey options? : Sas-administrator

676


What are the different versions of sas that you have used until now? : sas-grid-administration

721


Which function is used to count the number of intervals between two sas dates?

564


Mention what are the data types does SAS contain?

687


Explain what Proc glm does?

625


how do you want missing values handled? : Sas programming

527