|
Using the
Act.Talent99 data set, display macro variable
resolution messages. |
-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
%let number=11;
%let name=November;
title1 "Actors Hired in &name";
footnote1 "Report Number &number";
data act.newhire;
set act.talent99;
if month(lasthired)=&number;
format birthdate lasthired date.;
run;
proc print data=act.newhire;
run;
Submit the program and view the messages in the Log window.
-
Recall the program and modify it to display log messages stating how each
macro variable reference resolved. Submit and view the log messages.
-
Cancel the TITLE and FOOTNOTE statements.
Return here and select Next.
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA.
All rights reserved.
Terms of Use & Legal Information
| Privacy Statement