Date: Thu, 18 Dec 2008 15:23:46 -0500
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject: Re: title contents to a macro variable
In-Reply-To: <494A5810.72A7.0010.0@acadaff.umsmed.edu>
Content-Type: text/plain; charset=us-ascii
> From: Jamil Ibrahim
>
> Silly question....
a good learning Q
> Can you store the contents of a title statement to a
> macrovariable or to avariable?
> title1 "School of Medicne";
> I want a macro var to be equal School of Medicne as an example?
Proc SQL; describe table Dictionary.Titles;
select Title
into :Mvar1
from Dictionary.Titles
where Type eq 'T'
and Number eq 1;
quit;
%Put note: Mvar1:&Mvar1.;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
|