BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi All,

Anybody plz help into this one with detailed example.

Thanks In Advance,

Regards,
Govind.
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
The SAS support website http://support.sas.com/ has technical papers and DOC references. You can find related information by using the SEARCH facility at the main support page. The search argument I chose was "proc sort dupout example" -- the search results included matches for documentation and SUGI/SGF user community technical papers, with examples.

Also the archives for the discussion forums is also a good reference source.

Scott Barry
SBBWorks, Inc.
BrunoSilva
Quartz | Level 8
Hi

This is my example, i sort by region and subsidiary and i get one table without duplicated keys and another with the duplicates.

proc sort data=sashelp.shoes out=tablenodup dupout=tabledup nodupkey;
by region Subsidiary;
run;

But imagine that you just want to remove the observations that have all variables equal you can do like this

proc sort data=sashelp.shoes out=tablenodup dupout=tabledup nodupkey;
by _all_;
run;


See the above link for more info
http://support.sas.com/kb/24/626.html

i hope this help you,

cheers bruno

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1050 views
  • 0 likes
  • 3 in conversation