SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Improving Program Efficiency with Macro Variables
Creating Your Own Macro Variables


Question: The %LET statement below creates the macro variable name with a value of sales.
     %let name=sales;

Rewrite the SET statement below using the macro variable name to reference the Sales1998 data set.

     set sales1998;

           


  back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement