From: Fernández Rodríguez, on 11 Nov 2009 10:29 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(a)LISTSERV.UGA.EDU] En nombre de O'Connell, Martin Enviado el: mi�rcoles, 11 de noviembre de 2009 15:49 Para: SAS-L(a)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.
From: "O'Connell, Martin" on 11 Nov 2009 10:56 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(a)CST.CAT] Sent: Wednesday, November 11, 2009 10:29 AM To: O'Connell, Martin ; SAS-L(a)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(a)LISTSERV.UGA.EDU] En nombre de O'Connell, Martin Enviado el: mi�rcoles, 11 de noviembre de 2009 15:49 Para: SAS-L(a)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.
From: Joe Matise on 11 Nov 2009 11:00 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=3D<file>; <code> ods pdf close; Then you may simply need to put: option orientation=3Dlandscape; where I specified above [prior to the ODS PDF statement]. Then return it t= o orientation=3Dportrait 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(a)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=E1ndez Rodr=EDguez, Dani [mailto:DFernandez(a)CST.CAT] > Sent: Wednesday, November 11, 2009 10:29 AM > To: O'Connell, Martin ; SAS-L(a)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(a)LISTSERV.UGA.EDU] En nombre de > O'Connell, Martin > Enviado el: mi=E9rcoles, 11 de noviembre de 2009 15:49 > Para: SAS-L(a)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 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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. >
From: "O'Connell, Martin" on 11 Nov 2009 11:08 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 fi= red. So a new environment is created that has no linkage to the EP environ= ment that spawns it (so environmental cleanup not necessary). It seems lik= e the workspace server environmental settings are overshadowing any environ= mental options I try to override. =20 Thanks =20 ________________________________ From: Joe Matise [mailto:snoopy369(a)gmail.com]=20 Sent: Wednesday, November 11, 2009 11:01 AM To: O'Connell, Martin=20 Cc: SAS-L(a)listserv.uga.edu Subject: Re: PDF Reports from Stored Processes =20 Don't know a thing about EG or SPs as implemented in SAS, but perhaps you n= eed to set the options inside your SP. Assuming the code goes something like: <code> .... insert option here ... ods pdf file=3D<file>; <code> ods pdf close; Then you may simply need to put: option orientation=3Dlandscape; where I specified above [prior to the ODS PDF statement]. Then return it t= o orientation=3Dportrait afterwards [it's always polite to return options t= o their original value after code runs, to avoid problems with other progra= ms that assume the default option setting!]. -Joe 2009/11/11 O'Connell, Martin <MOConnell(a)geico.com> Yes I got past that I had to change when report appeared as html and not pd= f. But the options that I set when I developed under code node are not get= ting picked up when running as SP. Thanks -----Original Message----- From: Fern=E1ndez Rodr=EDguez, Dani [mailto:DFernandez(a)CST.CAT] Sent: Wednesday, November 11, 2009 10:29 AM To: O'Connell, Martin ; SAS-L(a)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(a)LISTSERV.UGA.EDU] En nombre de O'Connel= l, Martin Enviado el: mi=E9rcoles, 11 de noviembre de 2009 15:49 Para: SAS-L(a)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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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. =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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.
From: Joe Matise on 11 Nov 2009 11:11 I'd double-check the location of your options statement, then. I've severa= l 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(a)geico.com>wr= ote: > Joe- That I=92ve done. The Stored Process version of the code actually > runs in its own workspace server environment that is initiated when the S= P > 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(a)gmail.com] > *Sent:* Wednesday, November 11, 2009 11:01 AM > *To:* O'Connell, Martin > *Cc:* SAS-L(a)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=3D<file>; > <code> > ods pdf close; > > Then you may simply need to put: > option orientation=3Dlandscape; > where I specified above [prior to the ODS PDF statement]. Then return it > to orientation=3Dportrait afterwards [it's always polite to return option= s to > their original value after code runs, to avoid problems with other progra= ms > that assume the default option setting!]. > > -Joe > > 2009/11/11 O'Connell, Martin <MOConnell(a)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=E1ndez Rodr=EDguez, Dani [mailto:DFernandez(a)CST.CAT] > Sent: Wednesday, November 11, 2009 10:29 AM > To: O'Connell, Martin ; SAS-L(a)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(a)LISTSERV.UGA.EDU] En nombre de > O'Connell, Martin > Enviado el: mi=E9rcoles, 11 de noviembre de 2009 15:49 > Para: SAS-L(a)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 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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. > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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. > >
|
Next
|
Last
Pages: 1 2 Prev: PDF Reports from Stored Processes Next: LOCF (Last Obs Carried Forward) Help, Please |