As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Main Page

From sasCommunity
Revision as of 17:52, 5 April 2011 by LainieH (Talk | contribs)

Jump to: navigation, search

Welcome to

A collaborative online community for SAS® users worldwide. is an ongoing global community effort—created by SAS users for SAS users. This site is a place to find answers, share technical knowledge, collaborate on ideas and connect with others in the worldwide SAS Community. Get started now by creating a UserID.

Follow Us
For daily SAS Tips, Web updates & more.

sasCommunity Tip of the Day

Call routines SORTN and SORTC can order an array in ascending order only. What if you want to order it in descending order? Here is an easy way!

  data _null_;
    array arr[*] v1-v5 (1 2 3 4 5);
    put "before:" (v1-v5) (= +1);
    /* reverse the variable list in a new array definition and sort */
    array rev[*] v5-v1;
    call sortn(of rev[*]);
    put "after :" (v1-v5) (= +1);
  /* on log
  before: v1=1  v2=2  v3=3  v4=4  v5=5
  after : v1=5  v2=4  v3=3  v4=2  v5=1

For a detailed discussion on variable lists, see Schreier (2011).

Submitted By chang_y_chung

Feel free to comment on this tip.

Prior tip - Next tip -- Random Tip

Submit a Tip

Check out the Tip of the Day page for details about this effort.

What's New

New Points for Prizes Contest
Points for Prizes Contest
Win SAS books!

Contribute to for your chance to win SAS Press Books. To qualify for entry, simply add or edit content to between April 11, 2011 and May 9, 2011. The user with the most points collected during this time wins SAS Press Books! 1st Place: 3 SAS® Press books; 2nd Place: 2 SAS® Press books; 3rd Place: 1 SAS® Press book.

SAS.ONE - SUGI 21 Conference Proceedings Now Online
Search and find SAS papers from 1976-1996
SAS.ONE 1976
1st Users Conference

Since 1976, SAS users have gathered to share the unique ways they use SAS. At the end of each annual conference, the SAS Users Group International (SUGI) and later as SAS Global Forum collected all the individual papers (and posters) presented that year and published them in a volume of proceedings. These historical proceedings contain a vast number of papers which contain methods and techniques that are not available anywhere else to the SAS User Community.

Proceedings before SUGI 21 have not been accessible online - they were available only in bound paper volumes. To address this, the SAS Global Users Group Executive Board began a project in May 2010 to digitally capture SAS.ONE through SUGI 21 proceedings and make them available to the global SAS Community on

Become a sasCommunity Guru
Thanks for Contributing to!
New Point System
The sasCommunity support team has been hard at work adding new features and is pleased to announce a points system that recognizes each user's contributions to the site. Every time you contribute by creating a page, updating it, or just doing a little wiki gardening, you earn points.

Earning points is automatic and simple - all you have to do is contribute! Creating your account starts you with 1000 points and all the current users have been credited with points dating back to the site coming online in April 2007. See the User Levels and Points Help Page to learn more.

Are you in Vegas?!?
Look for the booth and visit us You are invited to join at SAS Global Forum. Please drop by our booth on the Demo Floor and attend these events:

SAS Global Forum 2011



Recent SAS user blog entries:

....View all recent blogs
....Submit your blog



Recent articles:

....View all recent articles
....Create an article



Review Recent Tips Submitted by Users:

....Browse all tips
....Submit a tip



Top SAS discussion forum threads:

....View all forums


9,514 UserIds have been created on!
This number will decrease while userid cleanup is in process.
View the Web-site usage statistics and the definition of terms.

Join Get Involved Sasopedia Events User Groups