The SAS Output Delivery System and reporting techniques

How to output special symbols by proc report using ods rtf

Accepted Solution Solved
Reply
Regular Contributor
Posts: 214
Accepted Solution

How to output special symbols by proc report using ods rtf

[ Edited ]

Hi all,

 

Сould you please say how to output special symbols by proc report using ods rtf?

 


Accepted Solutions
Solution
‎02-07-2018 07:33 AM
Regular Contributor
Posts: 214

Re: How to output special symbols by proc report using ods rtf

 it seems I have found this solution:

 

~{unicode 03BB}z

and in the define:

define var11 / page " *~{unicode 03BB}z" style(header)=[just=c cellwidth=11.16%] left;

 

View solution in original post


All Replies
Super User
Super User
Posts: 9,599

Re: How to output special symbols by proc report using ods rtf

Posted in reply to DmytroYermak

Does the symbol appear like that in the actual RTF text?  Open the rtf file in a text editor, something like notepad++, and look for it.  If it looks like that in the raw text file then that is one issue, if it is fine in the plain text file, then the software you are using to render the rtf (propbably Word thats most common) is changing it.  Assuming your SAS session is setup for UTF 98 or 16) it should be able to process that character.

Solution
‎02-07-2018 07:33 AM
Regular Contributor
Posts: 214

Re: How to output special symbols by proc report using ods rtf

 it seems I have found this solution:

 

~{unicode 03BB}z

and in the define:

define var11 / page " *~{unicode 03BB}z" style(header)=[just=c cellwidth=11.16%] left;

 

Regular Contributor
Posts: 214

Re: How to output special symbols by proc report using ods rtf

You are right - I had to write an rtf command to print the symbol. Please see the solution in separate message.
Highlighted
SAS Super FREQ
Posts: 9,370

Re: How to output special symbols by proc report using ods rtf

Posted in reply to DmytroYermak

Hi:

  It worked for me in ODS RTF in SAS 9.4 M3 without needing any RTF control strings. I used SASHELP.CLASS since you only wanted to focus on the column headers, the data did not matter.

cynthia

no_rtf_string.png

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 288 views
  • 0 likes
  • 3 in conversation