I have an excel file which contains lower case sigmas as column headers. Removing the sigmas will successfully read in the file. Is there a way to keep the sigmas? The error message notes: "Failed to transcode data from utf-16le to wlatin1 encoding because it contained characters which are not supported by your SAS session encoding."
I am using Enterprise Guide 7.1.
The first thing to do is to switch the SAS server that your version of Enterprise Guide connects to one that is using unicode support. Then SAS will not need to try to transcode into WLATIN1 character set.
It still might not work since I don't know if you can really use such strange characters for variable names. It is best to keep your variable names as normal SAS names. Maximum of 32 characters, Starts with underscore or letter (A to Z), only contains letters(A to Z), digits (0 to 9) or underscore.
Since it causes lots of extra work typing in those non-standard names, you should change the columns names to standard SAS rules (see @Tom's post). If you want to keep the reference, put the original column names in SAS variable labels. You will still need to switch to unicode SAS for this, though.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.