|
Using the
Act.Talent99 data set, create and reference
macro variables. |
-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
title1 'Actors Hired in November';
footnote1 'Report Number 11';
data act.newhire;
set act.talent99;
if month(lasthired)=11;
format lasthired date9.;
run;
proc print data=act.newhire;
run;
Revise the program to create the two macro variables
number and name . Assign number the
value 11 and name the value November. Then
reference the macro variables in the code.
-
Submit the program and view the output.
-
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