BookmarkSubscribeRSS Feed
3 REPLIES 3
Reeza
Super User

You may also expand on what you're trying to do, this question is vague.

 

 

If I understand correctly, you're not really supposed to sort that data in that manner. 

Nothing would be maintained pass the view table. 

 

Use the SORT task to sort data if you want. 

 

 

SASKiwi
PROC Star

Your statement is correct. So what is your point? That you would prefer that you could sort them? If so that's an enhancement request that you could raise as a suggestion.

 

For now you could use the Dataset Attributes task to sort column names.

ChrisHemedinger
Community Manager

Here's a handy trick:

http://blogs.sas.com/content/sasdummy/2012/08/14/proc-contents-into-excel/

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1233 views
  • 0 likes
  • 4 in conversation