SAS Procedures

Help using Base SAS procedures
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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