My supervisor sent me a SAS dataset. I opened it in SAS and found that the headers shown are long variable labels instead of variable names. How can I change the headers from variable labels to variable names? I know how to get variable names by 'proc contents' procedure, but I do not know how to let SAS display a dataset with variable names whenever I open the dataset in SAS.
0
votes
2 Answers
2
votes
It's a simple menu option under "View":
If you want to force SAS to ALWAYS default to NAMES, you need to change a SAS Explorer setting. Another menu option, starting with the Explorer window active:
And then edit the "members" > "table" > "open" instruction to specify "names" rather than labels:
For further details, refer to SAS documentation for the Windowing Environment