Date: Thu, 9 Feb 2012 10:53:15 -0500
Reply-To: Nat Wooding <nathani@VERIZON.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <nathani@VERIZON.NET>
Subject: Re: An RTF file output issue using ODS
In-Reply-To: <AADAEF40048AFB4AB53ABE992CBDFB21DEE36989B9@PL-EMSMB5.ees.hhs.gov>
Content-Type: text/plain; charset="us-ascii"
Neal
Were you doing any graphics earlier in that SAS session. It sounds like that
was the case.
Nat Wooding
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Nair,
Neal K (ACF)
Sent: Thursday, February 09, 2012 9:38 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: An RTF file output issue using ODS
Ya:
Thanks for your response. Actually, it was a Proc Print, not any Graph
procs.
Surprisingly, this morning I ran the same program, and I found no such
Warnings. It remains a mystery to me. One possibility - and this is simply
my guess - is that rebooting the computer may have set everything straight.
Thanks again.
Have a great day.
Neal
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Ya
Huang
Sent: Wednesday, February 08, 2012 4:12 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: An RTF file output issue using ODS
Looks lile you have SAS/Graph code inside the ods rtf, and you did not
specify the dev option in goptions statement, which by default will go
dev=WIN, but it is not allowed in ods/rtf, therefore ods rtf switch to
sasemf and issues the warning.
Try to add a goptions statement:
ods listing close;
ods rtf file=...
proc ...
goptions dev=sasemf;
proc gplot...
..
ods rtf close;
On Wed, 8 Feb 2012 15:32:32 -0500, Nair, Neal K (ACF)
<neal.nair@ACF.HHS.GOV> wrote:
>Dear colleagues:
>I executed a program to create an ODS RTF output result file. I used
>the
following command, which I have used before many times:
>
>ODS LISTING CLOSE;
>40 ODS RTF BODY="C:\VDR\FY&FY\HISTORY&DATET1 TO &DATET2..RTF"
>41 BODYTITLE STYLE=MINIMAL;
>
>In the SAS log, I see the following statement, which I have not seen
before:
>
>WARNING: Invalid device 'WIN' for RTF destination. Using default
device 'SASEMF'
>
>I do not know what it means. I never saw such a statement for the same
program when I was running it in SAS 9.1.3 SP4. SAS 9.2 has now been
installed in my PC, and I was running the program in it.
>This P.C. is with Windows XP operating system.
>
>Could someone help me understand what this message means, and how it
>can
be eliminated.
>Thanks.
>Neal