Hi Community,
I modified a product ID in a dataset following if a Special condition is true:
num_extend = CATT("°", num);
So in the dataset there are num:extends like this:
°1234
2345
3456
°4567
...
When i print a table on a RTF file it generates following:
Is there an Option preventing this?
Thank you in advance & best regards,
Felix
Avoid using that at all, just add a superscript element:
data ...; num_extend=cats('^super{o}',num); run; ods escaechar="^"; proc report data=... run;
That should put a small o before it, or you could put out the specfic character using escape codes. The problem I see is that you have a special character in your code, writing to a text file, then read by Word and processed. Any of those processes could either change or not understand that symbol.
Thank you for the Suggestion. Unfortunately this is even worse.
In the RTF Output it Shows following:
supero1234
super2345
super3456
supero5678
... maybe i have to take just another Symbol to indicate the numbers.
Sorry, got the bracket in the wrong place, should be:
data ...; num_extend=cats('^{super o}',num); run; ods escaechar="^"; proc report data=... run;
You can find out about this in the paper:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.