SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
3 REPLIES 3
Reeza
Super User
I'm assuming this is in the variable name?That's the default and expected behaviour if VALIDVARNAME=V7. You can override this, I don't recommend it.

You likely want the variable labels to show instead though and there are various ways to accomplish this if you post more details about what you're trying to do.
teitels390
Calcite | Level 5
@Reeza - Thank you for your reply: This was working for months until recently and the problem arose because the data is being used by SAS VA to display the data in a table and the column names are now different. Having underscores where there was a should be spaces or blanks. I am trying to figure out if VALIDVARNAME was introduced by maintenance or by a default profile change.
Reeza
Super User
Ah..that's a different issue. Mostly likely an upgrade happened somewhere. Are any data sources Excel?

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 932 views
  • 0 likes
  • 2 in conversation