Hi, Try this...hope this helps.. %macro a; %let test_value = test_val; This is a test; %mend a; data sample; msg = "this is a test"; run; data two; set sample; x=resolve('&test_value'); y=resolve('%a'); run; or proc sql; create table a as select msg, RESOLVE('&test_value') as val,Resolve('%a') as val2 from sample ; quit; Thanks, Shiva
... View more