Date: Fri, 26 Feb 2010 11:23:29 -0500
Reply-To: Nishant Dholakia <nishant.dholakia@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nishant Dholakia <nishant.dholakia@GMAIL.COM>
Subject: Re: LST produced instead of RTF
In-Reply-To: <201002261617.o1QBshEQ012798@malibu.cc.uga.edu>
Content-Type: text/plain; charset=ISO-8859-1
There's a macro that takes the tmp file and converts it to the desired RTF
as specified in the log.
>NOTE: 23 records were read from the infile FILETMP.
> The minimum record length was 9.
> The maximum record length was 147.
>NOTE: 23 records were written to the file FILERTF.
> The minimum record length was 9.
> The maximum record length was 147.
>NOTE: DATA statement used (Total process time):
> real time 0.00 seconds
> cpu time 0.00 seconds
Nishant H. Dholakia
Its your Attitude not your Aptitude that determines your Altitude
On Fri, Feb 26, 2010 at 11:17 AM, Ya Huang <ya.huang@amylin.com> wrote:
> You asked SAS to output rtf file to filetmp, which is temporary
> in Work folder, once the session is done, it is discarded.
>
> I think you should change this line:
>
> ods rtf file=filetmp style=styles.&style;
> to
> ods rtf file=filertf style=styles.&style;
>
>
> On Fri, 26 Feb 2010 10:58:25 -0500, ND <nishant.dholakia@GMAIL.COM> wrote:
>
> >I have a listing which is supposed to generate an RTF but it generates a
> >LST file instead and creates an empty RTF file.
> >
> >I am doing something like this
> >
> >filename filetmp temp;
> >ods listing close;
> >
> >ods rtf file=filetmp style=styles.&style;
> >
> >proc report .........
> >
> >
> >run;
> >
> >ods rtf close;
> >ods listing;
> >
> >LOG
> >
> >
> >NOTE: The infile FILETMP is:
> > File Name=C:\DOCUME~1\userid\LOCALS~1\Temp\SAS Temporary
> >Files\_TD2508\#LN00018,
> > RECFM=V,LRECL=32767
> >
> >NOTE: The file FILERTF is:
> > File Name=o:\clindata\Tsumura\TU100CPT1
> >\WORK\Displays\Listings\L16.2.1.rtf,
> > RECFM=V,LRECL=32767
> >
> >NOTE: 23 records were read from the infile FILETMP.
> > The minimum record length was 9.
> > The maximum record length was 147.
> >NOTE: 23 records were written to the file FILERTF.
> > The minimum record length was 9.
> > The maximum record length was 147.
> >NOTE: DATA statement used (Total process time):
> > real time 0.00 seconds
> > cpu time 0.00 seconds
> >
> >
> >
> >Any insight from you would be appreciated since this problem has been
> >baffling me since some time.
> >
> >Thanks
> >-N
>
|