When I run the following code. The column name of the "name" variable displays as "NAME OF FORMER VARIABLE". I would like to keep the name as it is in the data table.
proc report data=have;
column _All_ ;
define Name / display ;
run;
proc report data=have;
column _All_ ;
define Name / display "Gorillas" ;
run;
This makes the column for variable NAME to appear with the label "Gorillas".
PS @Barkat please enclose any SAS code you might want to show us in a code box. Click on the "little running man" icon and paste your code into that box. We're trying to help you, from now on, its also necessary that you help us.
Nearly 200 sessions are now available on demand in the Innovate Hub.
Watch Now →SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.