BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
blueskyxyz
Lapis Lazuli | Level 10
/*example code*/
ods listing close;
ods rtf file='D:\W\Code_lib\class.rtf'  style=journal3;
proc report data=sashelp.class ;
	column name sex height;
	define name / display 'Name' style(column)={asis=on cellwidth=2.0 in just=l} flow;;
	define sex / display 'sex' style(column)={asis=on cellwidth=2.0 in just=l} flow;;
	define height / display 'height' style(column)={asis=on cellwidth=2.0 in just=l} flow;;
run;
ods rtf close;
ods listing;

question: how to drop  the punctuation in the output as below:

捕获.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
blueskyxyz
Lapis Lazuli | Level 10

the word option of display can resolve this issue to hide this symbol, it has nothing to do with sas code and version

 thanks so much. @Kurt_Bremser 

捕获.JPG

View solution in original post

2 REPLIES 2
Kurt_Bremser
Super User

When I run this code in University Edition (on a Mac) and view the RTF with LibreOffice, or on our AIX via EG and view it with MS Word, I do not see any extra characters. With which program do you view the RTF? Which SAS version do you have?

blueskyxyz
Lapis Lazuli | Level 10

the word option of display can resolve this issue to hide this symbol, it has nothing to do with sas code and version

 thanks so much. @Kurt_Bremser 

捕获.JPG

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
  • 2 replies
  • 860 views
  • 0 likes
  • 2 in conversation