Does anybody know of a way to have SAS display column names and labels simultaneously in tables? Is it possible to make this a default setting?
Thanks!_
Can you explain what client you are using, SAS version etc?
I am using SAS 9.4. I don't know what client I am using. I don't even know what that means. How can I find out?
Thank you.
How are you displaying/viewing/reporting your tables? There are many ways of doing this in SAS so unless you tell us how you are doing this then it is difficult to offer any advice.
For example if you are using code then provide a sample, if you are using a SAS window, then describe how you do that and perhaps provide a screen shot.
If you are using ViewTable, the tool that opens datasets from the explorer window, then the answer will be no.
Also since the default label for variables without labels is the variable name do you really want to see
VariableName
VarialbleName
as a column heading?
You could however make the variable name PART of the label:
label thisvar='ThisVar: longer text for label';
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.