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

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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