BookmarkSubscribeRSS Feed
Olaaaaaa
Calcite | Level 5
Hi,

I have a "summary tables"-output report vith three columns i it. The problem is that when I run this it gives me about 100 pages since the list just goes on and on...Another way of presenting my data should be to see my "three-column"-list as one column and then produce so that the columns show up side by side instead. Is there a ods- statement for this, i have tried ods pdf column=6 but that dont work.
2 REPLIES 2
RichardH_sas
SAS Employee
You might want to post this in the ODS forum -- I know I'm not an ODS expert. 🙂

http://support.sas.com/forums/forum.jspa?forumID=6

Hope you can find something that works!
Cynthia_sas
Diamond | Level 26
Hi:
I don't know how wide your columns are. I find that this use of COLUMNS= works for me. If you submit this code in a code node, you should find that it creates a PDF file with 2 columns of output.

Remember that if the table were much wider, you would not be able to get more than a few columns across the page.

cynthia
[pre]
title; footnote;
ods listing close;

data newshoes;
set sashelp.shoes;
do i=1 to 10 by 1;
newreg = catt('0',left(put(i,z2.0)),region);
output;
end;
run;

options orientation=landscape nodate nonumber;
ods pdf file='newshoes2.pdf' columns=2;
proc tabulate data=newshoes;
class newreg;
var sales;
table newreg,
sales*(min max);
run;
ods pdf close;
[/pre]

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1064 views
  • 0 likes
  • 3 in conversation