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:
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.