Date: Fri, 7 Nov 2008 10:37:02 -0500
Reply-To: Jeff <zhujp98@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jeff <zhujp98@GMAIL.COM>
Subject: how to pass this string to macro?
Content-Type: text/plain; charset=ISO-8859-1
%Macro calculateRFs(codetypecd, id, valueString);
proc sql;
select *
from a
where a.str in &string;
%mend calculateRFs;
%calculateRFs(1, 1, ((*'111'*,*'222'*,*'3333'*));));
I want to pass string (*'111'*,*'222'*,*'3333') or **'111'*,*'222'*,*'3333'
together as a stirng to the macro. How can I do that?*
*Thanks.*
*Jeff*
|