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.


Tip of the Day:July 30

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

Occasionally, some data analysts have the unfortunate task of renaming variables with suffix and it can be very tough on the fingers to type the variables 100 times. However, the SAS DATA step recognizes the suffix-array notation and thus you can avoid that finger work out with this simple programming syntax:

data dataYouKnowWho;
    set dataWhoKnowWhat(
        rename = (Y1-Y100 = X1 - X100)
    );
run;

Submitted by Murphy Choy. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip