SAS OnlineTutorback||next

Try It! Using the Act.Talent data set, reference an automatic macro variable.

Creating HTML output? Read this first.

  1. Copy the program below and paste it into the Program Editor window (or issue the command copy sashelp.oltutor..source). Submit the program and view the footnote that displays the date when the SAS session began.
    title;
    footnote "Date: &sysdate9";
    data act.talent99;
       set act.talent;
       if year(lasthired)=1999;
       format birthdate lasthired date.;
    run;
    proc print data=act.talent99;
    run; 
    

  2. Rewrite the FOOTNOTE statement to also display the day of the week that the SAS session began. Submit the code and view the footnote again.

  3. Cancel the FOOTNOTE statement.

    Return here and select Next.

Solution

back||next


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

Terms of Use & Legal Information | Privacy Statement