LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2007, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 29 Nov 2007 07:25:56 -0500
Reply-To:     "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Organization: Internet News Service
Subject:      ODS Layout - 3 columns at top of page one,
              with page spanning list below?
Comments: To: sas-l@uga.edu

Trying to get an ODS PDF report with 3 columns in the top-half of page 1, and a one column list that starts at the top of the bottom half, and continues on to the second or more pages.

Any ideas on how to get such a render are appreciated.

<page-1> xxx yyy zzz xxx yyy zzz xxx yyy zzz AAAAA AAAAA AAAAA <page-2> AAAAA AAAAA AAAAA AAAAA

The code below is a start, but the AAAAA listing begins at the top of page 2.

%*----------------------------------------------------;

dm 'next "results viewer"; cancel';

data foo; do i = 1 to 48; retain x y z 1 a b "Something"; output; end; run;

filename rpt "%sysfunc(pathname(WORK))\report.pdf";

options nonumber nodate;

ods listing close; ods pdf file=rpt style=journal nobookmarklist; ods pdf startpage=never;

ods escapechar='^';

title 'Multi-column'; title2 'Report';

ods layout start; ods region x=0% y=0% width=33% height=40%; proc report nowindows data=foo(firstobs= 1 obs=16);run; ods region x=33% y=0% width=33% height=40%; proc report nowindows data=foo(firstobs=17 obs=32);run; ods region x=66% y=0% width=33% height=40%; proc report nowindows data=foo(firstobs=33 obs=48);run;

ods layout end;

ods pdf text="^S={just=center}ONE This is some narrative"; ods pdf text="^S={just=center}TWO This is some narrative";

proc print data=sashelp.class; run;

ods pdf close; ods listing;

-- Richard A. DeVenezia http://www.devenezia.com/


Back to: Top of message | Previous page | Main SAS-L page