- 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.novhire;
set act.talent99;
if month(lasthired)=&number;
format lasthired date9.;
run;
proc print data=act.novhire;
run;
Revise the program to create two more macro variables,
abbrev and year . Assign abbrev the
value nov, and year the value 99. Then reference
the macro variables in the code.
-
Submit the program and view the output.
Return here and select Next.
|