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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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