BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ECrecelius333
Fluorite | Level 6

Hello,

 

My table should look like this: 

ECrecelius333_0-1590173769974.png

But the output in Word will not print the ^ symbol.  Is there a way to fix this?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
data_null__
Jade | Level 19
Probably due to ODS ESCAPECHAR='^';
Check the automatic variable AUTOMATIC SYSODSESCAPECHAR ^

View solution in original post

5 REPLIES 5
data_null__
Jade | Level 19
Probably due to ODS ESCAPECHAR='^';
Check the automatic variable AUTOMATIC SYSODSESCAPECHAR ^
ECrecelius333
Fluorite | Level 6

That was included in my code as:  

options orientation=landscape topmargin=.25in bottommargin=.25in
leftmargin=.25in rightmargin=.25in;
ods escapechar = '^';

 

Am I able to remove this? When I removed it, it did not fix the problem.

 

 

data_null__
Jade | Level 19
Try changing the single ^ to two ^^ in your data. If you want to keep the escape character the same.
ECrecelius333
Fluorite | Level 6
I replaced it with ODS ESCAPECHAR='@' and it worked! Thank you!
ballardw
Super User

You may have to specify a FONT using the style attributes in proc report to override the default font that your current style is using for output.

 

It might help to provide

1) the Proc Report code you are currently using

2)indicate which variable needs the characters

3)you may also have to provide information about what you are showing the text from if it is not a SAS data set or proc output. Like the document setting.

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 5 replies
  • 3510 views
  • 2 likes
  • 3 in conversation