Hi,
i tried to use exported SAS data set from SAS Studio in my EM project. However, data source wizard give a server error pop up mentioning that "The data set contains variables with invalid column names. The SAS option VALIDVARNAME=ANY is currently disabled. Please consult your SAS Language Reference for more information."
I had rename my variable so that the variable follow the rules of SAS Variable name and re-export my data. But I still get the same message. I have also ran the PROC CONTENTS for the dataset but I couldn't find any invalid column name.
What should I do?
EM Error
PROC CONTENTS DATA
By default, variable names cannot begin with a digit. The variable names you show are all illegal.
If you run this command
options validvarlist=any;
that should make your variable names acceptable to SAS.
By default, variable names cannot begin with a digit. The variable names you show are all illegal.
If you run this command
options validvarlist=any;
that should make your variable names acceptable to SAS.
Or set VALIDVARNAME=V7 in SAS Studio and then export your data to be used in EM. I suspect this will be easier for OP to control than settings in EM.
options validvarname=v7;
proc export data=....
Thanks for the quick reply. That worked
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Ready to level-up your skills? Choose your own adventure.