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:May 11

From sasCommunity
Revision as of 22:58, 6 May 2011 by Frankfry (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

sasCommunity Tip of the Day

It can be very tedious to specify a long list of variables, so SAS has come up with variable list that you can specify for 'special' variables. See the example below:

   data GetMinimum;
       set Revenue2010;
       MinRevenue = min(of Revenue:);
   run;

The code would get the minimum value of all variables, in the "Revenue2010" dataset, whose name starts with 'Revenue' such as Revenue_Jan, Revenue_May and Revenue_Nov. In this example, the Name Prefix List is used.

Submitted by Koo Ping Shung. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip