In SAS you can do.
data a(rename=(a=b) );
a = 1;
run;
to rename a variable in the data step data statement (or data step header as I call it).
What's the syntax to change the label? I tried
data a(label=(a='a to b') );
a = 1;
run;
But it doesn't work.