[img]file:///D:\My Documents\Documents\Tencent Files\2571729696\Image\C2C\B[$XF%46}_14(A8Z%8EJ2P1.jpg[/img]这是code,最后只是想把title的那一句话输出,但是出来column name是竖着的。。。。
proc sort data=sashelp.Cars;
by descending Weight;
run;
data a;
set sashelp.Cars;
If _N_=1 then call symput("selectedweight",Model);
else stop;
run;
proc print data=sashelp.Cars;
where Model="&selectedweight";
title"The model with the most heavy is &selectedweight";
run;