BookmarkSubscribeRSS Feed
R_Win
Calcite | Level 5
How can i read special characters in variables and in observations
2 REPLIES 2
Doc_Duke
Rhodochrosite | Level 12
Perhaps you could be more specific.

Any character that is in the OS collating sequence can be read as part of the value of a character variable. You can't always see it, but that is a limitation of your display/print technology, not of SAS' ability to read it. (You can always print it in hex format, but that's ugly to read.)
Cynthia_sas
SAS Super FREQ
Hi:
Variable NAMES must conform to the SAS naming conventions for variable names. Variable VALUES can contain just about any character in the collating sequence.

For the rules about variable names or how to refer to named literals, consult the SAS documentation:
http://support.sas.com/documentation/cdl/en/acreldb/59618/HTML/default/a001392879.htm
http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a000998953.htm

cynthia

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1043 views
  • 0 likes
  • 3 in conversation