The SAS support http://support.sas.com/ website has a few SUGI/SGF conference papers and technical references on the topic - it will be a matter of user-coded DATA step processing to parse/read the RTF data lines, interpret the commands/data-strings and generate your desired SAS dataset and variables.
Suggested Google advanced search arguments, this topic/post:
read rtf file site:sas.com
read external data site:sas.com
data step programming introduction site:sas.com
Message was edited by: sbb
In addition to Scott's suggestion, I have had students do the following:
1) open the RTF file with Word
2) highlight and cut/copy the table in Word
3) paste the table into Excel
4) save the Excel file to an XLS file
5) read the Excel file with PROC IMPORT or the Libname Engine
I would imagine that the process can be automated with Office macros or VB scripts. Depending on the volume of RTF files to be read, if you have a lot of RTF files, then you might want to invest the energy in the DATA step approach.
I agree with Scott -- it doesn't make sense to me for an "RTF2SAS" routine. For one thing, an RTF file is a document -- with TITLES and FOOTNOTES and procedure titles and possibly a TABLE of contents. What if there is a table that spans pages? What if there is a table with ancillary text as a caption??? What if there are 10 footnotes with information about outliers??? What if there is one table of people's names and ages and another table of people's names and addresses -- would those be 2 separate datasets?? I don't think there's a way to write a generic program to parse the RTF description of a document and turn any tables found in that document into a SAS dataset(s).