DATA Step, Macro, Functions and more

different methods to sort the dataset

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

different methods to sort the dataset

Hi,

   What are the different methods to sort the dataset?


Accepted Solutions
Solution
‎10-03-2016 09:49 AM
Super User
Super User
Posts: 7,430

Re: different methods to sort the dataset

Proc sort.

http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000057941.htm

 

In SQL, use: order by

 

Do some conditionally reading and writing via datastep.

 

 

View solution in original post


All Replies
Solution
‎10-03-2016 09:49 AM
Super User
Super User
Posts: 7,430

Re: different methods to sort the dataset

Proc sort.

http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000057941.htm

 

In SQL, use: order by

 

Do some conditionally reading and writing via datastep.

 

 

New Contributor
Posts: 3

Re: different methods to sort the dataset

Thank you.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 199 views
  • 0 likes
  • 2 in conversation