how do we get duplicate observations in a separate dataset?

Answer Posted / bitla

ex:

data dup1 dup2;
set original;
by dup_var;
if first.dup_var then output dup1 else output dup2;
run;

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are common programming errors committed in sas

761


What would you change about your job?

2008


Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks

1898


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

840


what is hash files in sas and why we are using this one in sas?

1817






how sas deals with business intelligence? : Sas-bi

692


How do you control the number of observations and/or variables read or written?

856


What is the difference between match merge and one to one merge?

782


What is the basic syntax of a sas program?

755


how can you import .csv file in to sas? : Sas programming

736


Name few SAS functions?

757


Describe the function and untility of the most difficult SAS macro that you have written.

1680


Mention the category in which sas informats are placed?

724


Name some categories in sas 9? : sas-grid-administration

634


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1329