LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 8 Jul 2009 10:30:42 -0400
Reply-To:     Randy Herbison <RandyHerbison@WESTAT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Randy Herbison <RandyHerbison@WESTAT.COM>
Subject:      Re: Help for PDF Report having multiple pages!
Comments: To: Ironcobra <abinash.24@GMAIL.COM>
In-Reply-To:  <111fa931-7ba6-4e10-b811-c2e70abe4552@d9g2000prh.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

For the image file and small data set, you can use inline formatting and a gridded layout. You don't need a layout for the large data set.

This works in both SAS 9.1 and SAS 9.2:

data largeClass; set sashelp.class; do i=1 to 20; output; end; run;

ods escapechar='^'; ods pdf file='c:\temp\test.pdf'; ods listing close; ods layout start columns=2; ods region; ods pdf text="^S={preimage='c:\temp\test.jpg'}"; ods region; proc print data=sashelp.class; run; ods layout end; proc print data=largeClass; run; ods pdf close; ods listing;

-Randy

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Ironcobra Sent: Tuesday, July 07, 2009 8:54 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Help for PDF Report having multiple pages!

Hi,

I need to create a pdf report having 3 components.

1. An image file 2. A small data set (20 records) 3. A large data set (100s of records).

I want the first page of the pdf file to have the image file and the small data set. From the 2nd page onwards I want to print the large data set as long as all the data from this dataset is printed (may be till page 10 or 13 or 17 etc.).

I tried using ODS Layout for this. But, looks like it is limited.

I tried putting the image file and small dataset in 1 layout and the big dataset in a 2nd layout. It doesn't work. It gives me only page 1.

Can anybody suggest a way to get around this problem??

Thanks!!


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