Viewing Column Names and Labels Simultaneously

Reply
Occasional Contributor
Posts: 5

Viewing Column Names and Labels Simultaneously

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!_

Super User
Posts: 5,256

Re: Viewing Column Names and Labels Simultaneously

Can you explain what client you are using, SAS version etc?

Data never sleeps
Occasional Contributor
Posts: 5

Re: Viewing Column Names and Labels Simultaneously

I am using SAS 9.4.  I don't know what client I am using.  I don't even know what that means.  Smiley Happy  How can I find out?

Thank you.

Super User
Posts: 3,105

Re: Viewing Column Names and Labels Simultaneously

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.

Super User
Posts: 10,500

Re: Viewing Column Names and Labels Simultaneously

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';

Ask a Question
Discussion stats
  • 4 replies
  • 204 views
  • 3 likes
  • 4 in conversation