<?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 Rewriting similar scripts to Macros - Testing if it is &amp;quot;right&amp;quot;, i.e. produces the same output tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Rewriting-similar-scripts-to-Macros-Testing-if-it-is-quot-right/m-p/749809#M235709</link>
    <description>&lt;P&gt;I have 3 scripts (programs) (for three seperate countries) that are very similar and I have written a macro function that will replace them. So, in a "Main program", the three scripts were previously included with the %include statement, now I will just call the macro function instead which makes things much easier and more tractable.&lt;BR /&gt;&lt;BR /&gt;Each script produces six tables and so does my Macro.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;But, now when I have written the macro function, I must make sure that everything is right and would for instance like to run a seperate script (program) for a country and run my Macro for that specific country aswell and then compare that the six output tables are &lt;STRONG&gt;identical&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How could I achieve this?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 08:42:58 GMT</pubDate>
    <dc:creator>SasStatistics</dc:creator>
    <dc:date>2021-06-23T08:42:58Z</dc:date>
    <item>
      <title>Rewriting similar scripts to Macros - Testing if it is "right", i.e. produces the same output tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rewriting-similar-scripts-to-Macros-Testing-if-it-is-quot-right/m-p/749809#M235709</link>
      <description>&lt;P&gt;I have 3 scripts (programs) (for three seperate countries) that are very similar and I have written a macro function that will replace them. So, in a "Main program", the three scripts were previously included with the %include statement, now I will just call the macro function instead which makes things much easier and more tractable.&lt;BR /&gt;&lt;BR /&gt;Each script produces six tables and so does my Macro.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;But, now when I have written the macro function, I must make sure that everything is right and would for instance like to run a seperate script (program) for a country and run my Macro for that specific country aswell and then compare that the six output tables are &lt;STRONG&gt;identical&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How could I achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:42:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rewriting-similar-scripts-to-Macros-Testing-if-it-is-quot-right/m-p/749809#M235709</guid>
      <dc:creator>SasStatistics</dc:creator>
      <dc:date>2021-06-23T08:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rewriting similar scripts to Macros - Testing if it is "right", i.e. produces the same</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Rewriting-similar-scripts-to-Macros-Testing-if-it-is-quot-right/m-p/749818#M235713</link>
      <description>&lt;P&gt;You could use PROC COMPARE&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:27:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Rewriting-similar-scripts-to-Macros-Testing-if-it-is-quot-right/m-p/749818#M235713</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-23T10:27:50Z</dc:date>
    </item>
  </channel>
</rss>

