<?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 proc compare - how to save lst report through sas code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-compare-how-to-save-lst-report-through-sas-code/m-p/269351#M53365</link>
    <description>&lt;P&gt;data work.cars;&lt;/P&gt;&lt;P&gt;set sashelp.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc compare data=sashelp.cars compare=work.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output of above proc compare is lst report.&amp;nbsp;I want to save the lst report in a folder C:\myfolder\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know what is the option to save the lst report to desired folder.&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2016 07:23:48 GMT</pubDate>
    <dc:creator>RahulG</dc:creator>
    <dc:date>2016-05-10T07:23:48Z</dc:date>
    <item>
      <title>proc compare - how to save lst report through sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-compare-how-to-save-lst-report-through-sas-code/m-p/269351#M53365</link>
      <description>&lt;P&gt;data work.cars;&lt;/P&gt;&lt;P&gt;set sashelp.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc compare data=sashelp.cars compare=work.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output of above proc compare is lst report.&amp;nbsp;I want to save the lst report in a folder C:\myfolder\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know what is the option to save the lst report to desired folder.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 07:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-compare-how-to-save-lst-report-through-sas-code/m-p/269351#M53365</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-05-10T07:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc compare - how to save lst report through sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-compare-how-to-save-lst-report-through-sas-code/m-p/269361#M53366</link>
      <description>&lt;P&gt;You can use proc printto:&lt;/P&gt;
&lt;P&gt;proc printto print="c:\your_file.txt" new;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc compare...;&lt;/P&gt;
&lt;P&gt;proc printto;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or better still for nice output set an ods destination, much like any other output. &amp;nbsp;Depends what you need it for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 08:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-compare-how-to-save-lst-report-through-sas-code/m-p/269361#M53366</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-10T08:28:02Z</dc:date>
    </item>
  </channel>
</rss>

