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
SAS Super FREQ
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]

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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