Using PROC SQL, I changes column names from English to Hebrew. When I use such tables via PROC REPORT, SAS uses the English columns names, even though the BY and DEFINE statements use the new Hebrew named column
PROC REPORT DATA= work.sharon ;
BY 'סניף'n ;
DEFINE 'סניף'n / group;
RUN;
I am guessing that the original data had labels. SAS will keep the old labels after you rename a variable. You can see the problem here:
You can manually set the label for each variable with a
labelorattribstatement or, if you prefer to always use the variable names, just strip off all the labels for the dataset like this: