can rename only be used in set statement?
when do you use rename= and name=?
No. Rename= is a dataset option can be used any time the data set is referenced.
Proc freq data=sashelp.class( rename=(sex=gender)); tables gender; run;
Dive into keynotes, announcements and breakthroughs on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!