BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

Would someone point me to the option for valid varnames for value and varables that exceed maximum length of 32 character?

 

 

thank you

1 ACCEPTED SOLUTION

Accepted Solutions
novinosrin
Tourmaline | Level 20

Hi @VDD  For all I know, there isn't a validvarname=option that accommodates more than 32 bytes for a dataset name or variable name. If  I am not wrong, Labels are the only option 

 

I just double checked right now, and it seems my thought was right.

View solution in original post

3 REPLIES 3
novinosrin
Tourmaline | Level 20

Hi @VDD  For all I know, there isn't a validvarname=option that accommodates more than 32 bytes for a dataset name or variable name. If  I am not wrong, Labels are the only option 

 

I just double checked right now, and it seems my thought was right.

Kurt_Bremser
Super User

There is no option (yet) for this. The 32 bytes are a hard limit because of the layout of the SAS dataset file header (amongst other reasons).

I do not expect a change before SAS version 10. Personally, I would do such a change only in a major release.

VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

thank you @novinosrin and @Kurt_Bremser late-night and early-morning confused me.  I remember the conversations in the community and just had my wires crossed.  again thank you for the clarity.

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 744 views
  • 0 likes
  • 3 in conversation