Hi All,
Is there any way to get the "{xxx }" these in the report including braces, as i have to show this in report using ods rtf.
Please follow the guidance on the page when posting a new question, post test data in the form of a datastep and what you want the output to look like, otherwise we are just guessing.
data have; a="{xxx }"; run; ods rtf file="abc.rtf"; proc report data=have nowd; columns a; run; ods rtf close;
How are you generating your output?
Do you mean that you have numeric values that will appear in a table and that you want to enclose, possibly a range of them, in {}
such as
{123.4}?
You may have to provide additional information such as rules, number of decimals to display if any. The most likely approach would be a custom picture format such as shown here:
proc format library=work; picture braces low-high = '00009.9}' (prefix='{' ); run; data have; input x; datalines; -123 0 234.5 ; proc print data=have; var x; format x braces.; run;
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.