how do we get duplicate observations in a separate dataset?
Answer Posted / natrajboga
use the dupout= and nodupkey options in proc sort and
followed by BY statemet with list of vars
proc sort data=xxx dupout=dup_xxx nodupkey;
by var1;
run;
/* see the log window */
proc print data=dup_xxx;
run;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What system options would you use to help debug a macro? : sas-macro
Describe the function and untility of the most difficult SAS macro that you have written.
what is enterprise guide? What is the use of it? : Sas programming
This entry was posted in General. Bookmark the permalink. Post a comment or leave
AE datasets names? how many types?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
Which command is used to perform sorting in sas program?
How you can read the variables that you need?
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
Are you sensitive to code walk-throughs peer review or QC review?
What is the difference between SAS functions and procedures?
What is by-group processing?
Explain translate function?
Explain what is SAS informats?
What does P-value signify about the statistical data?