Date: Thu, 22 Sep 2011 13:16:49 -0400
Reply-To: Richard DeVenezia <rdevenezia@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard DeVenezia <rdevenezia@GMAIL.COM>
Subject: Open code %sysfunc IFC
Content-Type: text/plain; charset=ISO-8859-1
Is there a setting I can use to make the data step in the %str appears
in the log ?
%let drop=;
data class;
set sashelp.class end=end;
if end then do;
* if funky logic then;
call symput ('drop', 'weight');
end;
run;
%sysfunc(
ifc ( %length(&drop)
, %str(
data class;
set class (drop=&drop.);
run;
)
, %str ()
)
);
Thanks,
Richard
|