<?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 Re: read .rtf files and merge them later in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641619#M191259</link>
    <description>&lt;P&gt;Proc Document processes SAS output, not RTF files, for restructuring.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Combining existing RTF files is a Word processor task generally. Or at least not a SAS process.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 13:56:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-04-21T13:56:45Z</dc:date>
    <item>
      <title>read .rtf files and merge them later</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641615#M191255</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have 3 x.rtf, y.rtf, z.rtf in path.&amp;nbsp;I would like to merge them to make a single document.&lt;/P&gt;
&lt;P&gt;For this i'm referring to the directory where all the .rtf files present by a libname statement and later i have planned to use them in proc document as written below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it throws error as in the proc document step extension(.rtf) cant read by sas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname docs "path mentioned here";&lt;/P&gt;
&lt;P&gt;ods rtf file="new_path\combined_document.rtf";&lt;BR /&gt;proc document name= docs.x.rtf;&lt;BR /&gt;replay;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;proc document name=docs.y.rtf;&lt;BR /&gt;replay;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;proc document name=docs.z.rtf;&lt;BR /&gt;replay;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly suggest how to resolve this or any other way by which i can take the existing .rtf documents and combine them by some way please do suggest. It would be helpful if someone can help me know how to refer a rtf file present in a directory.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641615#M191255</guid>
      <dc:creator>sahoositaram555</dc:creator>
      <dc:date>2020-04-21T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: read .rtf files and merge them later</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641617#M191257</link>
      <description>&lt;P&gt;I don't think that you can access rtf-files through a library, at least not with any engine i have ever seen. So you might have to re-think the process, i am sure that better tools exist to merge rtf-files than using sas-code.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:54:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641617#M191257</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-04-21T13:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: read .rtf files and merge them later</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641619#M191259</link>
      <description>&lt;P&gt;Proc Document processes SAS output, not RTF files, for restructuring.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Combining existing RTF files is a Word processor task generally. Or at least not a SAS process.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/641619#M191259</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-04-21T13:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: read .rtf files and merge them later</title>
      <link>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/642086#M191505</link>
      <description>Thanks ballardw, andreas_lds for your inputs. I have found another way to solve this.</description>
      <pubDate>Wed, 22 Apr 2020 21:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/read-rtf-files-and-merge-them-later/m-p/642086#M191505</guid>
      <dc:creator>sahoositaram555</dc:creator>
      <dc:date>2020-04-22T21:10:37Z</dc:date>
    </item>
  </channel>
</rss>

