Date: Wed, 18 Feb 2004 17:02:31 -0500
Reply-To: Don Stanley <don_stanley@PARADISE.NET.NZ>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Stanley <don_stanley@PARADISE.NET.NZ>
Subject: Re: ODS Results display raw RTF...
Are you saying you see the RTF when you open the document in MS Word? If
so, please post your code that creates the RTF file.
Opening in eg NOTEPAD, I would expect to see the raw RTF.
Is the &RV variable somehow being written to the RTF header part? If so,
perhaps it is not syntactically correct. Word will display the raw RTF if
the document is completely unable to be interpreted by the RTF converter.
Don
On Wed, 18 Feb 2004 16:39:39 -0500, Jose Santos <j-santos@TAMU.EDU> wrote:
>Hi:
>I am getting the rtf file generated by ODS as raw RTF... displaying all the
>mark ups within the document as follows:
>
>Content-type: text/html Pragma: no-cache Content-type: application/msword
>{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1033\deflangfe1033 {\fonttbl {\f1
>\froman\fprq2\fcharset0 Times;} {\f2\fnil\fprq0\fcharset0 ;} }{\colortbl;
>\red0\green0\blue0; \red0\green0\blue255; \red0\green255\blue255; \red0
>\green255\blue0; \red255\green0\blue255; \red255\green0\blue0; \red255
>\green255\blue0; \red255\green255\blue255; \red0\green0\blue128; \red0
>\green128\blue128; \red0\green128\blue0; \red128\green0\blue128; \red128
>\green0\blue0; \red128\green128\blue0; \red128\green128\blue128; \red192
>..
>..
>
>
>Heres my program:
>
>ods listing close;
>%let RV=%sysfunc(appsrv_header(Content-type, application/msword));
>ods noproctitle;
>ods rtf body=_webout;
>my program...
>..
>..
>..
>ods rtf close;
>ods listing;
>
>What am I doing wrong?
>Thanks for any help.
>
>Jose
|