Hi There,
Why I am getting output like below 'ffffff'?
Try changing your default font in SAS to the "SAS Monospace" font.
The reason is a combination of the SAS FORMCHAR option setting in your system and the font displaying the characters.
Underlying reason is, I suspect, a disagreement between IBM and Microsoft on fonts in the early days of the PC. The character choice would display as nice box lines with an IBM font but all the Microsoft designed fonts redefine or removed the box drawing characters. The SAS Monospace font follows the old IBM spec.
I assume that's what you see in the listing output?
SAS is trying to draw lines for the table (think ASCII Art), but it's using characters (or a font?) your computer doesn't seem to like.
There is a system option, formchar, which allows you to specify the characters used to draw ASCII lines, try:
options formchar="|----|+|---+=|-/\<>*" ;
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/n0b0m78j9u41s6n1t6t217rkq4sk.htm
Or if you generate output as HTML or some other format, you shouldn't have this problem.
Try changing your default font in SAS to the "SAS Monospace" font.
The reason is a combination of the SAS FORMCHAR option setting in your system and the font displaying the characters.
Underlying reason is, I suspect, a disagreement between IBM and Microsoft on fonts in the early days of the PC. The character choice would display as nice box lines with an IBM font but all the Microsoft designed fonts redefine or removed the box drawing characters. The SAS Monospace font follows the old IBM spec.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.