Date: Wed, 19 Jul 2006 10:25:55 -0400
Reply-To: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject: Re: ods pdf for proc report
I cannot see that in your code: did you use the option NOWINDOWS in your
PROC REPORT statement?
On Wed, 19 Jul 2006 16:11:17 +0200, yom <yomsas@GMAIL.COM> wrote:
>Dear Gwenael,
>
>I had the same problem with html.
>Maybe, it works if do :
>
>ods listing close;
>ods pdf File='yourfile.pdf' Path='C:\yourfolder' (URL=none);
>;
>
>proc report...;
>...;
>run;
>
>ods pdf close;
>ods listing;
>
>yom
>
>
>
>2006/7/19, Gwenael Besnier <gwen_1973@hotmail.com>:
>>
>> Hi all,
>>
>> I' m doing a proc report and want the output in a pdf file.
>> My code looks like the following:
>>
>> ods listing close;
>> ods pdf file='/....pdf';
>>
>> proc report...;
>> ...;
>> run;
>>
>> ods pdf close;
>> ods listing;
>>
>> The problem is that SAS still writes the output in the proc report output
>> window and not in the pdf file!
>> If I change proc report in proc print then SAS will write in the pdf file.
>> The proc report code is ok because without ods it looks good in the proc
>> report output window.
>>
>> In the log, I get the message:
>> 3332 run;
>>
>> NOTE: There were 49 observations read from the data set WORK.AUSGABE.
>> NOTE: PROCEDURE REPORT used (Total process time):
>> real time 11.12 seconds
>> cpu time 0.28 seconds
>>
>>
>> 3333
>> 3334 ods pdf close;
>> NOTE: ODS PDF printed no output.
>> (This sometimes results from failing to place a RUN statement before
>> the ODS PDF CLOSE statement.)
>>
>> Does anybody have any idea?
>>
>> HFH
>> Gwen
>>
>> _________________________________________________________________
>> Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
>> Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
>> http://desktop.msn.de/ Jetzt gratis downloaden!
>>
|