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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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