SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Improving Program Efficiency with Macro Variables
Using Automatic Macro Variables


Question: Which DATA step correctly references the macro variable SYSDATE?

 
title "February Trials as of &sysdate";
data drg.febtrial;
   set drg.trial;
   if month=2 and year=1999;
run;
 
title 'February Trials as of sysdate';
data drg.febtrial;
   set drg.trial;
   if month=2 and year=1999;
run;



  back||next

 

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

Terms of Use & Legal Information | Privacy Statement