<?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: any macros to list two folder's data file list and compare their contents? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101833#M21313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This page has programs which return lists of various items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sascommunity.org/wiki/Making_Lists" title="http://www.sascommunity.org/wiki/Making_Lists"&gt;http://www.sascommunity.org/wiki/Making_Lists&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron Fehd&amp;nbsp; lists maven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 11:53:45 GMT</pubDate>
    <dc:creator>Ron_MacroMaven</dc:creator>
    <dc:date>2013-04-09T11:53:45Z</dc:date>
    <item>
      <title>any macros to list two folder's data file list and compare their contents?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101830#M21310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a production environment and dev environment, folder structure are almost identical.&lt;/P&gt;&lt;P&gt;I need to constantly compare the data in the development folder vs in the production folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have dev folder, /dev, production folder /prod, both have at least dozen files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do I do a proc compare on those two folders without manually input what data file is compared with what data file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the proc compare macro, but I don't know how to dynamically generate a two columns of tables and read it using the loop to do the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any test code/suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 00:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101830#M21310</guid>
      <dc:creator>ZRick</dc:creator>
      <dc:date>2013-04-09T00:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: any macros to list two folder's data file list and compare their contents?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101831#M21311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;libname folder1 '...'&lt;/P&gt;&lt;P&gt;libname folder2 '...'&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table t1 as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select memname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from dictionary.tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; where upcase(libname）=folder1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; create table t2 as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...(the same here)&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc compare t1 vs t2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 00:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101831#M21311</guid>
      <dc:creator>SandyH</dc:creator>
      <dc:date>2013-04-09T00:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: any macros to list two folder's data file list and compare their contents?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101832#M21312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a clarification about your question. Do you need to compare the filenames between two folders? or to compare the datasets in both the folders ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 03:53:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101832#M21312</guid>
      <dc:creator>Sudhakar_A</dc:creator>
      <dc:date>2013-04-09T03:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: any macros to list two folder's data file list and compare their contents?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101833#M21313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This page has programs which return lists of various items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sascommunity.org/wiki/Making_Lists" title="http://www.sascommunity.org/wiki/Making_Lists"&gt;http://www.sascommunity.org/wiki/Making_Lists&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron Fehd&amp;nbsp; lists maven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/any-macros-to-list-two-folder-s-data-file-list-and-compare-their/m-p/101833#M21313</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2013-04-09T11:53:45Z</dc:date>
    </item>
  </channel>
</rss>

