Using ODS pdf plus proc report to generate pdf file.
Since I have many columns, and I need keep all of them in one line, but it always breaks in somewhere, and move some columns to next line.
How do I prevent this?
e.g.
I need this:
col1 col2 col3 col4 ... col15
but it is always like this:
col1 col2 col3 col4 ... col10
col11 col12.. col15
Hi:
One of my first posts in the forum was about how to deal with "very wide" reports and how to use ODS STYLE= overrides to make them fit on a "page". I believe the code will still work that I posted. I'd suggest you search for that old post. I think if you use the search terms "very wide" you will find it.
cynthia
Thanks Cynthia.
It helps.
What I am thinking is that if there is an option to shrink or enlarge in proportion to fit in the page, that would be nice.
Thanks!
Hi:
There is no such option to shrink or enlarge what is going to be on the page. You can impact the PDF viewer after the file is created using SAS system options, but you can't shrink or fit while the output is being created. That is why you have to write the report to fit within the margins using ODS STYLE= overrides.
cynthia
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.