Hi,
Anyone could help?
Data test;
set sample;
if Variable_1 >3.5 comments ="Old";
else Comments ="New";
run;
SAS would automatically put "Comments" at the end. If I already have 80 varialbes, "Comments" would be the 81th. How can I put "comments" in front of other varibles. So, when I export final results into excel, I don't have to scroll down to the end to see my comments.
I can use proc sql or retain statment to reorder my variables, but is there any better way? I have more than 80 varibles and I use proc import to import data, so every time the 80 varibles could have different names.
... View more