0 votes
in Software Defined Networking by

Use of CALL SYMPUT

1 Answer

0 votes
by

CALL SYMPUT puts the value from a dataset into a macro variable.

proc means data=test;

var x;

output out=testmean mean=xbar;

run;

data _null_;

set testmean;

call symput("xbarmac",xbar);

run;

%put mean of x is &xbarmac;

...