From: ND on
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