SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Improving Program Efficiency with Macro Variables
Creating Your Own Macro Variables


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

Write a DATA statement using the macro variable name to create the SAS data set Reg.Newprod.

     data reg.newprod;

           


  back||next


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

Terms of Use & Legal Information | Privacy Statement