<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to read rtf with SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416129#M102164</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to write a sas code which&amp;nbsp;could have&amp;nbsp;defined number of the&amp;nbsp;cells(variables) in rtf report and&amp;nbsp;the lengths of each cell. Could you please provide any recommendations/links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Nov 2017 08:44:32 GMT</pubDate>
    <dc:creator>DmytroYermak</dc:creator>
    <dc:date>2017-11-25T08:44:32Z</dc:date>
    <item>
      <title>How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416129#M102164</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to write a sas code which&amp;nbsp;could have&amp;nbsp;defined number of the&amp;nbsp;cells(variables) in rtf report and&amp;nbsp;the lengths of each cell. Could you please provide any recommendations/links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2017 08:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416129#M102164</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2017-11-25T08:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416130#M102165</link>
      <description>Hi,&lt;BR /&gt;When you have attributes details, variables with fixed length. you can read the input raw data with fixed column input.&lt;BR /&gt;example:&lt;BR /&gt;data x;&lt;BR /&gt;infile "filename.rtf";&lt;BR /&gt;input Name $ 1-20&lt;BR /&gt;DOB $ 21-31&lt;BR /&gt;Gender $ 32&lt;BR /&gt;Balance 33-40;&lt;BR /&gt;run;</description>
      <pubDate>Sat, 25 Nov 2017 09:09:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416130#M102165</guid>
      <dc:creator>RM6</dc:creator>
      <dc:date>2017-11-25T09:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416134#M102167</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;When you have attributes details, variables with fixed length.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;That is the question - I have just file and do not know the lengths.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2017 10:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416134#M102167</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2017-11-25T10:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416141#M102169</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/58513"&gt;@DmytroYermak&lt;/a&gt;&amp;nbsp;you need to post more details of what you’re trying to do.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2017 16:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416141#M102169</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-25T16:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416162#M102170</link>
      <description>&lt;P&gt;RTF files are for word processor text. You need to scan the rtf text for tags that indicate tabular data, and then try to extract the cell values from that.&lt;/P&gt;
&lt;P&gt;The wikipedia article on the rtf file format will give you hints how hard this will be.&lt;/P&gt;
&lt;P&gt;RTF files are even less suited for SAS data input than Excel files.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2017 19:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416162#M102170</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-25T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416178#M102175</link>
      <description>&lt;P&gt;For one shot deals, I can sometimes open the rtf file in Word, copy the material I want&amp;nbsp;to the clipboard and then paste it into a raw text processor. Then read it from there with SAS.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Nov 2017 05:14:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416178#M102175</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-11-26T05:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416327#M102205</link>
      <description>Thank you! Do you know "the tags that indicate tabular data"?</description>
      <pubDate>Mon, 27 Nov 2017 11:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416327#M102205</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2017-11-27T11:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416350#M102209</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/58513"&gt;@DmytroYermak&lt;/a&gt; wrote:&lt;BR /&gt;Thank you! Do you know "the tags that indicate tabular data"?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. Best you can do is to create a rtf file with data as you expect it, and then inspect the contents of the file with a pure text editor.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 12:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416350#M102209</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-27T12:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to read rtf with SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416464#M102250</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;For one shot deals, I can sometimes open the rtf file in Word, copy the material I want&amp;nbsp;to the clipboard and then paste it into a raw text processor. Then read it from there with SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Or (shudders) paste into&amp;nbsp;Excel. And save as CSV for import.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 16:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-rtf-with-SAS/m-p/416464#M102250</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-11-27T16:25:33Z</dc:date>
    </item>
  </channel>
</rss>

