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.
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.