"What is the difference between proc sort nodup and proc
sort nodupkey?"

Answers were Sorted based on User's Feedback



"What is the difference between proc sort nodup and proc sort nodupkey?"..

Answer / chandrakanth

Proc sort nodupkey will remove any repeated observations based on by variable you mention in the proc sort, whereas proc sort nodup will remove all the repeated observation irrespective of the mentioned by variable . Hope this answers your question let me know if you need more details.

Is This Answer Correct ?    4 Yes 0 No

"What is the difference between proc sort nodup and proc sort nodupkey?"..

Answer / venkatesh

nodup: it deletes duplicates(column wise duplicates).
nodupkey: it deletes row wise duplicates according to
your by variable;
ex: id name
100 nani
101 ravi
100 nani
101 kali
nodup result:
id name
100 nani
101 ravi
101 kali

nodupkey result
100 nani
101 ravi

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SAS Interview Questions

is QUALCOMM using SAS ?

1 Answers  


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

0 Answers  


explain the proc in sas? : Sas-administrator

0 Answers  


I need level 2 to 5 sas using companies in india

0 Answers  


How do you add a number to a macro variable?

2 Answers  


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

0 Answers   Quintiles,


what is incremental update ? is this possible in SAS OLAP CUBE STUDIO.

1 Answers   TCS,


Which date function advances a date, time or datetime value by a given interval?

0 Answers  


What are the joins,types of joins and thier functions?

7 Answers   SAS,


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

0 Answers   SAS,


how do you test for missing values? : Sas programming

0 Answers  


What are some problems you might encounter in processing missing values? In Data steps? Arithmetic? Comparisons? Functions? Classifying data?

1 Answers   Quintiles,


Categories