how to display duplicated observations in a data using base
sas.

Answer Posted / pratik

By using Dopout option we can display duplicate observation.
Proc sort data=datasetname1 nodupkey dopout=datasetname2;
by varaible.
run;
proc print data=datasetname2;
run;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the special input delimiters used in SAS?

656


How to include or exclude specific variables in a data set?

648


how many display types available in sas bi dashboard? : Sas-bi

646


Describe the ways in which you can create a macro variable?

628


How can you limit the variables written to output dataset in data step?

757






If a variable contains letters or special characters, can it be numeric data type?

764


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

1689


Mention the difference between ceil and floor functions in sas?

650


What is PROC in SAS?

608


explain the difference between proc means and proc summary?

672


how to read the variables in sas? : Sas-administrator

554


what are the component of range? : Sas-bi

616


What is SAS informats?

638


What is a macro routine?

2104


What are the five ways to do a table lookup in sas? : sas-grid-administration

599