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 (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.
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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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