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
PROC Star

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.

Check out the Boston Area SAS Users Group (BASUG) video archives: https://www.basug.org/videos.
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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 250 views
  • 4 likes
  • 3 in conversation