BookmarkSubscribeRSS Feed
Aman4SAS
Obsidian | Level 7

where to find detail of proc sort..with real time scenario .

5 REPLIES 5
Cynthia_sas
SAS Super FREQ

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

Aman4SAS
Obsidian | Level 7

thanks a lot.

manojinpec
Obsidian | Level 7

Do you want soem real example?

Aman4SAS
Obsidian | Level 7

yes ?? if its possible..i want to do practice on real scenario.

thanks

Cynthia_sas
SAS Super FREQ

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;

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 5 replies
  • 962 views
  • 6 likes
  • 3 in conversation