where to find detail of proc sort..with real time scenario .
Hi:
I'm not sure what you mean by "real time scenario". However, here's the link to the PROC SORT documentation:
Base SAS(R) 9.3 Procedures Guide, Second Edition
There are at least 4 examples of using PROC SORT in the above documentation site. Also, this Tech Support note is aimed at beginners:
24835 - Sorting Your Data with PROC SORT (for Beginners)
cynthia
thanks a lot.
Do you want soem real example?
yes ?? if its possible..i want to do practice on real scenario.
thanks
If the examples weren't enough, here are some samples using SASHELP.CLASS. And, here are some papers -- I would suggest you Google for more:
http://support.sas.com/resources/papers/proceedings12/041-2012.pdf
http://www2.sas.com/proceedings/sugi30/037-30.pdf
cynthia
proc print data=sashelp.class;
title 'before';
run;
proc sort data=sashelp.class out=class_age;
by age name;
run;
proc print data=class_age;
title 'after 1st sort';
run;
proc sort data=sashelp.class out=age_desc;
by descending age name;
run;
proc print data=age_desc;
title 'after 2nd sort';
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.