Hi there,
I was wondering if anyone here has had a similar experience with writing proc print output to ODS.
The output for proc print looks something like that
While the output from ODS looks something like this
Could someone advise me on how I can get the otuput in ODS to maintain the same?
Thanks!
Can you explain a bit more please? Include your code perhaps?
Are you referring to the HTML vs PDF, both of which are ODS outputs, being different?
If so, that's likely as the dimensions of the 'page' are different. HTML has no width or length restrictions whereas PDF is usually letter size pages. To fix or adjust this make sure your using the same style on both and try modify the font size or change the page orientation for PDF.
The font size in the first example is smaller than the second. Why this is we cannot tell as you haven't provided any information. Output can be created using styles/templates, different procedures, different destinations. Post you code.
By default some of the different ODS destinations may be using different styles. The first thing to try would be to specify a style.
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.