| Date: | Fri, 22 Dec 2006 08:23:49 -0800 |
| Reply-To: | "Huang, Ya" <Ya.Huang@AMYLIN.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Huang, Ya" <Ya.Huang@AMYLIN.COM> |
| Subject: | Re: greplay |
|
| In-Reply-To: | <1166779791.458ba58fbd860@ssl0.ovh.net> |
| Content-Type: | text/plain; charset="iso-8859-1" |
change the first line (goptions) to this:
goptions reset=all nodisplay device=png;
It works fine for me. Yesterday, when I test it, I got the prompt, all I did is
to type in 'WIN' as the device name.
-----Original Message-----
From: Stéphane COLAS [mailto:scolas@datametric.fr]
Sent: Friday, December 22, 2006 1:30 AM
To: Huang, Ya
Cc: SAS-L@LISTSERV.UGA.EDU
Subject: Re: greplay
Ya,
first of all, thank you for the answer.
Q1. the junk.pdf is empty.
Q2. I forgot why it asked me the device name by a prompt. Could you tell me that and how to delete it ?
Stéphane.
Selon Ya Huang <ya.huang@AMYLIN.COM>:
> Use one more greplay to 'replay' the others greplay catalog:
>
> goptions reset=all gunit=pct border
> cback=white colors=(black blue green red)
> ftext=swiss htitle=8 htext=5 nodisplay
> hsize=4in vsize=3.8in;
>
> proc sort data=sashelp.class out=class; by sex; run;
>
> proc gplot data=class;
> plot weight*height;
> by sex;
> run;
>
> goptions display;
>
> proc greplay igout=work.gseg gout=work.xx
> tc=sashelp.templt nofs;
> template=h2;
> treplay 1:gplot
> 2:gplot1
> ;
> quit;
>
> proc greplay igout=work.gseg gout=work.xx
> tc=sashelp.templt nofs;
> template=h2;
> treplay 1:gplot1
> 2:gplot
> ;
> quit;
>
> ods pdf file="C:\temp\junk.pdf";
>
> proc greplay igout=work.xx gout=work.yy
> tc=sashelp.templt nofs;
> template=h2;
> treplay 1:template
> 2:templat1
> ;
> quit;
>
> ods pdf close;
>
>
>
>
> On Thu, 21 Dec 2006 15:53:11 +0100, =?iso-8859-1?b?U3TpcGhhbmU=?=
> COLAS <scolas@DATAMETRIC.FR> wrote:
>
> >I continue with my stupid questions...
> >
> >if you create three outputs from three procs greplay, how do you put
> >them
> into a
> >pdf file ?
> >
> >I encapsulated the procs by an ODS PDF but I got only the last result
> into...
> >
> >What I missed (excepted my certification) ?
> >
> >
> >Sté°¨ane.
>
|