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.


Difference between revisions of "Tip of the Day:May 11"

From sasCommunity
Jump to: navigation, search
(scheduled Changing or Suppressing the Default SAS Splash Screen on Windows)
(Scheduled Specifying a list of variables)
 
Line 5: Line 5:
 
sasCommunity Tip of the Day
 
sasCommunity Tip of the Day
 
</h1><div style="padding:10px;">
 
</h1><div style="padding:10px;">
{{Tips:Changing or Suppressing the Default SAS Splash Screen on Windows}}
+
{{Tips:Specifying a list of variables}}
 
<div style="width:100%"><hr></div>
 
<div style="width:100%"><hr></div>
Feel free to [[Tips Talk:Changing or Suppressing the Default SAS Splash Screen on Windows|comment]] on this tip.
+
Feel free to [[Tips Talk:Specifying a list of variables|comment]] on this tip.
 
</div>
 
</div>
 
</td></tr>
 
</td></tr>

Latest revision as of 22:58, 6 May 2011

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