BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
lernenanytime
Calcite | Level 5

Hi There,

 

Why I am getting output like below 'ffffff'?

 

SAS.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

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.

View solution in original post

3 REPLIES 3
Quentin
Super User

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.

lernenanytime
Calcite | Level 5
It works perfectly.
ballardw
Super User

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 3 replies
  • 1186 views
  • 4 likes
  • 3 in conversation