<?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 Complex multi-step macro stp will not finish in WRS but runs in seconds in EG in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593544#M5932</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some trouble that doesn't seem to makes sense to me.&amp;nbsp; I have a complex macro in SAS that creates multiple tables and outputs before getting the final results (two html tables and two data tables) all other output/tables are dropped in the macro.&amp;nbsp; I am able to run this on the SASHELP.cars data set for testing in EG fine and it finishes in seconds.&amp;nbsp; However, when i try and execute it from the STP WRS on the same dataset, it spins and never shows my output or log or anything.&amp;nbsp; It spins until the server timeout.&amp;nbsp; &amp;nbsp;Any thoughts on why this is?&amp;nbsp; &amp;nbsp;I would share the code but it is very long and not sure if that would help here because it runs and has been thoroughly tested to work in EG.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 21:00:11 GMT</pubDate>
    <dc:creator>hulksmash</dc:creator>
    <dc:date>2019-10-02T21:00:11Z</dc:date>
    <item>
      <title>Complex multi-step macro stp will not finish in WRS but runs in seconds in EG</title>
      <link>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593544#M5932</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some trouble that doesn't seem to makes sense to me.&amp;nbsp; I have a complex macro in SAS that creates multiple tables and outputs before getting the final results (two html tables and two data tables) all other output/tables are dropped in the macro.&amp;nbsp; I am able to run this on the SASHELP.cars data set for testing in EG fine and it finishes in seconds.&amp;nbsp; However, when i try and execute it from the STP WRS on the same dataset, it spins and never shows my output or log or anything.&amp;nbsp; It spins until the server timeout.&amp;nbsp; &amp;nbsp;Any thoughts on why this is?&amp;nbsp; &amp;nbsp;I would share the code but it is very long and not sure if that would help here because it runs and has been thoroughly tested to work in EG.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 21:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593544#M5932</guid>
      <dc:creator>hulksmash</dc:creator>
      <dc:date>2019-10-02T21:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Complex multi-step macro stp will not finish in WRS but runs in seconds in EG</title>
      <link>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593551#M5933</link>
      <description>&lt;P&gt;Without specifics it is hard to determine. I would likely start at how you are telling the output to get places. WRS is different in general.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second would be to examine the code, find the bit that actually generates the output and isolate that for testing with known data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Complex Multi-step macro" just from the description sort of makes me cringe. Generally I separate data creation for any report writing so debugging of output issues is somewhat easier. As well as isolating destination specific behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A programming maxim I learned in the very first class I took:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll spend 90 percent of your time getting the data correct and the other 90 percent getting the output as desired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes that adds to 180 percent, that's the point. Output appearance control, destinations and such can take as much work as the data part, if not more.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 21:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593551#M5933</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-02T21:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Complex multi-step macro stp will not finish in WRS but runs in seconds in EG</title>
      <link>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593719#M5934</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; The two outputs are a proc means output with no modifications, the second output is proc print of a table created using multiple proc sql, proc transpose, and data steps.&amp;nbsp; I have isolated the proc means on the test data set and it worked no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SOLUTION FOUND&lt;/STRONG&gt;:&amp;nbsp; It appears that the issue was caused by using SAS Data Quality Server functions ("dqpattern" in this case).&amp;nbsp; I am able to run them and load the QKB in EG fine but for some reason I am unable to run them in WRS in a stored process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 13:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Complex-multi-step-macro-stp-will-not-finish-in-WRS-but-runs-in/m-p/593719#M5934</guid>
      <dc:creator>hulksmash</dc:creator>
      <dc:date>2019-10-03T13:58:16Z</dc:date>
    </item>
  </channel>
</rss>

