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;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.