Help using Base SAS procedures

Special Character

Reply
Regular Contributor
Posts: 229

Special Character

How can i read special characters in variables and in observations
Trusted Advisor
Posts: 2,113

Re: Special Character

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.)
SAS Super FREQ
Posts: 8,745

Re: Special Character

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
Ask a Question
Discussion stats
  • 2 replies
  • 145 views
  • 0 likes
  • 3 in conversation