I am currently coding in SAS studio. I am trying to export my dataset but everytime I try exporting the data this error comes up. I am not sure what the issue is and how I should try solving it. Is there something wrong with my variable names? Should I focus my efforts renaming some of them? Any guidance would be much appreciated.
WARNING 36-12: SAS option VALIDVARNAME is restricted by your Site Administrator and cannot be updated
Did you write code (with an OPTIONS statement that tries to change the setting of ValidVarName? Or are you using an export wizard or something similar?
In either case, it looks like the code (whether written by you or generated by some tool) is trying to change the setting of the ValidVarName system option, but your SAS admin has restricted access to that option. You might try talking with your admin to see if they will unrestrict access for you. Or it's possible you'll be able to achieve your goal without changing the VaildVarName option, but it might mean writing your own code.
Showing the full code is helpful.
Do you have variables with spaces in the names?
If so, yes, you likely want to rename the variables before whatever step you're trying to do.
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!
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.