Date: Wed, 11 Nov 2009 17:20:53 +0100
Reply-To: Fernández Rodríguez, Dani
<DFernandez@CST.CAT>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Fernández Rodríguez, Dani
<DFernandez@CST.CAT>
Subject: Re: PDF Reports from Stored Processes
In-Reply-To: A<b7a7fa630911110811j7e33f2e9x2d385cfc95d08355@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Have you taken a look at Results formats inside options --> Results --> Results General
instead of Stored Process result formats?
Daniel
-----Mensaje original-----
De: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] En nombre de Joe Matise
Enviado el: miércoles, 11 de noviembre de 2009 17:12
Para: SAS-L@LISTSERV.UGA.EDU
Asunto: Re: PDF Reports from Stored Processes
I'd double-check the location of your options statement, then. I've several
times had the problem that I put it after the ODS PDF statement, or
otherwise in a position where it didn't take effect correctly, even though I
know well it needs to go first.
Otherwise, it's probably something specific to SPs and I'll be of no help
there whatsoever, but others will hopefully be :)
-Joe
On Wed, Nov 11, 2009 at 10:08 AM, O'Connell, Martin <MOConnell@geico.com>wrote:
> Joe- That I've done. The Stored Process version of the code actually
> runs in its own workspace server environment that is initiated when the SP
> is fired. So a new environment is created that has no linkage to the EP
> environment that spawns it (so environmental cleanup not necessary). It
> seems like the workspace server environmental settings are overshadowing any
> environmental options I try to override.
>
>
>
> Thanks
>
>
> ------------------------------
>
> *From:* Joe Matise [mailto:snoopy369@gmail.com]
> *Sent:* Wednesday, November 11, 2009 11:01 AM
> *To:* O'Connell, Martin
> *Cc:* SAS-L@listserv.uga.edu
> *Subject:* Re: PDF Reports from Stored Processes
>
>
>
> Don't know a thing about EG or SPs as implemented in SAS, but perhaps you
> need to set the options inside your SP.
>
> Assuming the code goes something like:
>
> <code>
> ... insert option here ...
> ods pdf file=<file>;
> <code>
> ods pdf close;
>
> Then you may simply need to put:
> option orientation=landscape;
> where I specified above [prior to the ODS PDF statement]. Then return it
> to orientation=portrait afterwards [it's always polite to return options to
> their original value after code runs, to avoid problems with other programs
> that assume the default option setting!].
>
> -Joe
>
> 2009/11/11 O'Connell, Martin <MOConnell@geico.com>
>
> Yes I got past that I had to change when report appeared as html and not
> pdf. But the options that I set when I developed under code node are not
> getting picked up when running as SP.
>
> Thanks
>
>
> -----Original Message-----
> From: Fernández Rodríguez, Dani [mailto:DFernandez@CST.CAT]
> Sent: Wednesday, November 11, 2009 10:29 AM
> To: O'Connell, Martin ; SAS-L@LISTSERV.UGA.EDU
> Subject: RE: PDF Reports from Stored Processes
>
> Hi Martin,
> I am not very sure what you refer... anyway,
> Have you set your Stored Process output to PDF in EG?
> Tools--> options--> results (Stored process)--> PDF
>
> Daniel
> Barcelona
>
>
> -----Mensaje original-----
> De: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] En nombre de
> O'Connell, Martin
> Enviado el: miércoles, 11 de noviembre de 2009 15:49
> Para: SAS-L@LISTSERV.UGA.EDU
> Asunto: PDF Reports from Stored Processes
>
> Hello all,
>
>
>
> I have a report writer that builds pdf reports that has worked fine in
> EG code node. Nothing terribly fancy, just put statements building the
> report. But when I wrap a simple Stored Process around it the SP output
> seems to ignore my options, particularly Landscape as report is coming
> out Portrait. Is there something I need to be aware of to set these
> options in SP?
>
>
>
> As always, thanks for any help.
>
>
>
> Martin
>
> ====================
> This email/fax message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution of this
> email/fax is prohibited. If you are not the intended recipient, please
> destroy all paper and electronic copies of the original message.
> ====================
> This email/fax message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution of this
> email/fax is prohibited. If you are not the intended recipient, please
> destroy all paper and electronic copies of the original message.
>
>
>
> ====================
> This email/fax message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution of this
> email/fax is prohibited. If you are not the intended recipient, please
> destroy all paper and electronic copies of the original message.
>
>
|