Finding group of an option
From sasCommunity
Q: How do I find the group that an option is in?
%Let OptName = center;
proc SQL noprint;
select Group
into :Group
from Dictionary.Options
where OptName eq "%upcase(&OptName.)";
quit;
%Put OptName: &OptName. in Group:&Group.;
PROC Options define value option = &OptName.;
%Put OptName: &OptName. in Group:&Group.;
PROC Options Group = &Group.;
run;
--macro maven == the radical programmer 15:24, 14 June 2007 (EDT)
