<?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 Increase processing speed of gmatch macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523658#M142285</link>
    <description>&lt;P&gt;I'm working on a Monte Carlo simulation that uses the gmatch macro to do propensity score matching. The full macro is available here:&amp;nbsp;&lt;A href="http://people.duke.edu/~hammill/software/gmatch.sas" target="_blank"&gt;http://people.duke.edu/~hammill/software/gmatch.sas&lt;/A&gt;. I'd like to adapt the macro so that it doesn't take so long to process the data because I need to do this for 62,000 datasets. The program includes a lot of checks that I&amp;nbsp;do not need at this point since I know that the macro is working and doing what it's supposed to do, but when I try to remove any of the checks, it stops working. Would anyone have suggestions for code that I can remove or adapt that will still result in computing the output dataset? I do not need all of the checks or the outlinks file.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 16:08:36 GMT</pubDate>
    <dc:creator>AB85</dc:creator>
    <dc:date>2018-12-27T16:08:36Z</dc:date>
    <item>
      <title>Increase processing speed of gmatch macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523658#M142285</link>
      <description>&lt;P&gt;I'm working on a Monte Carlo simulation that uses the gmatch macro to do propensity score matching. The full macro is available here:&amp;nbsp;&lt;A href="http://people.duke.edu/~hammill/software/gmatch.sas" target="_blank"&gt;http://people.duke.edu/~hammill/software/gmatch.sas&lt;/A&gt;. I'd like to adapt the macro so that it doesn't take so long to process the data because I need to do this for 62,000 datasets. The program includes a lot of checks that I&amp;nbsp;do not need at this point since I know that the macro is working and doing what it's supposed to do, but when I try to remove any of the checks, it stops working. Would anyone have suggestions for code that I can remove or adapt that will still result in computing the output dataset? I do not need all of the checks or the outlinks file.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 16:08:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523658#M142285</guid>
      <dc:creator>AB85</dc:creator>
      <dc:date>2018-12-27T16:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Increase processing speed of gmatch macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523691#M142300</link>
      <description>&lt;P&gt;How long does it take to run now on one of your datasets? Which are the slow steps? Shaving a second here or a second there isn't going to improve things much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Removing the OUTLINKS step is easy as long as you remove the CHECK4 query that uses OUTLINKS as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could run multiple versions of your program at the same time over different datasets to speed things up. This would work best on server-based SAS.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523691#M142300</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-27T19:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Increase processing speed of gmatch macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523996#M142443</link>
      <description>&lt;P&gt;Thanks for your thoughts and suggestions! I took out the outlinks and check4 query that you suggested. I also removed all of the notes, and&amp;nbsp;with these changes it only took&amp;nbsp;a few seconds to run each replication. The bigger problem was with&amp;nbsp;some macro loops earlier in my program, so I went through and revised the whole program, and now it should run much faster. It took more than 1.5 days the first time I ran it!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 13:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/523996#M142443</guid>
      <dc:creator>AB85</dc:creator>
      <dc:date>2019-01-01T13:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Increase processing speed of gmatch macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/524012#M142450</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237074"&gt;@AB85&lt;/a&gt; - Good to hear. 1.5 days is indeed a bit long...&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 20:38:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-processing-speed-of-gmatch-macro/m-p/524012#M142450</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-01-01T20:38:11Z</dc:date>
    </item>
  </channel>
</rss>

