Dear All,
@Cynthia_sas 's answer is irrelevant to understand the problem, and @Ksharp 's solution is a work around solution, a few steps short to understand the problem. Hat off to both of the SAS experts for your efforts. Thank your @Coooooo_Lee for discovering this problem.
Apparently, SAS ODS RTF has a coding problem. It looks like +, -, and = signs are three special characters in this case. When you have 4 or more these signs alone, SAS will not transcode them correctly, without a blank space between them and # sign. (SAS correctly transcode # sign as {\line }, that's correct with RTF specs). You can use any other characters on the keyboard, or any combination of these 3, you don't need a blank space between them and #.
This defect of SAS coding should not be surprised. Remember in SAS own macro language, there are a few special characters and you can't use them directly. SAS wrote two macro functions: %SUBSTR and %QSUBSTR to handle those special cases.
Jianmin Long
... View more