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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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