data theLast; set sashelp.class nobs=last point=last; output; stop; run;
data _null_; set theLast; call symputx("name1",name);run;
%put name = &name1 ;