BookmarkSubscribeRSS Feed
Mistletoad
Calcite | Level 5

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

2 REPLIES 2
Quentin
Super User

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.

The Boston Area SAS Users Group (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.
Reeza
Super User

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. 

 

 

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!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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