Start SAS in the "unicode" mode. Essentially it is using the UTF8 encoding. This will enable you to read these characters from Excel or other data sources sucessfully and display them in this way. For instance, the SAS University Edition is using the unicode mode by default.
If you want to display these types of symbols in non unicode SAS session, you can use the Inline Formatting function {unicode }.
To make things easier, you could create a format that will create the necessary inline formatting string, see example below. The example uses the "(*ESC*)" escape sequence, so it is independant of the ODS ESCAPECHAR setting.
proc format;
value $mysigns
"LE" = "(*ESC*){unicode 2264}"
"GE" = "(*ESC*){unicode 2265}"
;
run;
data want;
newValue = catx("*", put("LE", $mysigns.), put("GE", $mysigns.));
run;
proc print data=want;
run;
Bruno
... View more