The SAS Output Delivery System and reporting techniques

How do I keep all the columns in one line?

Reply
Contributor
Posts: 21

How do I keep all the columns in one line?


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

SAS Super FREQ
Posts: 8,740

Re: How do I keep all the columns in one line?

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

Contributor
Posts: 21

Re: How do I keep all the columns in one line?

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!

SAS Super FREQ
Posts: 8,740

Re: How do I keep all the columns in one line?

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

Ask a Question
Discussion stats
  • 3 replies
  • 311 views
  • 0 likes
  • 2 in conversation