As the first step in the decommissioning of sasCommunity.org 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 10:08, 8 April 2011 by Donh (Talk | contribs)

Jump to: navigation, search

Welcome to sasCommunity.org

A collaborative online community for SAS® users worldwide.

sasCommunity.org 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);
  run;
 
  /* 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

SAS Global Forum 2011 Registration Now Open
SAS Global Forum 2011SAS Global Forum is the premier event for SAS professionals worldwide. This year SAS Global Forum will be held in Las Vegas, Nevada on April 4-7.
Early-bird hotel rates from Caesars Palace have been extended through January 28, 2011!

Start planning for SAS Global Forum!

 

Blogs

Recent SAS user blog entries:


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

 

Content

Recent sasCommunity.org articles:


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

 

Tips

Review Recent Tips Submitted by Users:


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

 

Forums

Top SAS discussion forum threads:


....View all forums

     

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


Join sasCommunity.org Get Involved Sasopedia Events User Groups