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.

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.
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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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