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.