How to write duplicate records into a separate dataset using
sort?
Answer Posted / yam
First sort the data set by the key variable and then
data dup;
set indata1;
if not(first.keyvar) then output dup;
run;
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How would you identify a macro variable? : sas-macro
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What do the mod and int function do? : Sas programming
What is interleaving in SAS?
Differences between where and if statement?
it will become easy if uuu provide website linkssss and list of consultanciessssss
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
Name validation tools used in SAS
how do you debug and test your sas programs? : Sas programming
Mention what is the difference between nodupkey and nodup options?
how to do user inputs and command line arguments in sas?
Differentiate between sas functions and sas procedures.
how do you pull data from equifax?tell me the process?
What are the statements that are executed only?