<?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 SAS code runs manually but &amp;quot;hangs&amp;quot; when run Automatically in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296379#M20208</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a batch process which consist of some 5-6 sas codes, this runs everyday via a windows scheduler (the vesrion is SAS EG 9.4).&lt;/P&gt;&lt;P&gt;The codes have been running automatically at 09:30 am in the morning everyday for the past 6 months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since last Friday, i have run into a weird issue. The first code in the process (it reads an XML) gets hung at one place in the code (the run time of the code is ~8 mins). This place is where dataset X is formed by a right join of dataset Y and Z in a proc sql. Dataset X is 1.2 GB in size. The code always hangs here and this has started happening only since last Friday. Before that there was never such issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the process delays, i kill the scheduler, and run the code manually at the same time and it runs just fine. I have been trying to replicate the issue, at some times of the day the code take 17 mins to run and some times 8 mins (via scheduler). But when run manually it always runs ~8 mins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was NO change/modification made to the code before the problem started happening. There was though a vulnerability fix done to the SAS web server (apache) from my client side.We also tried changing the network location of the datasets to F drive, we are still facing the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why this would be happening? and how to fix this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Apeksha Pathak&lt;/P&gt;&lt;P&gt;Apeksha Pathak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Sep 2016 08:50:00 GMT</pubDate>
    <dc:creator>apeksha</dc:creator>
    <dc:date>2016-09-04T08:50:00Z</dc:date>
    <item>
      <title>SAS code runs manually but "hangs" when run Automatically</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296379#M20208</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a batch process which consist of some 5-6 sas codes, this runs everyday via a windows scheduler (the vesrion is SAS EG 9.4).&lt;/P&gt;&lt;P&gt;The codes have been running automatically at 09:30 am in the morning everyday for the past 6 months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since last Friday, i have run into a weird issue. The first code in the process (it reads an XML) gets hung at one place in the code (the run time of the code is ~8 mins). This place is where dataset X is formed by a right join of dataset Y and Z in a proc sql. Dataset X is 1.2 GB in size. The code always hangs here and this has started happening only since last Friday. Before that there was never such issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the process delays, i kill the scheduler, and run the code manually at the same time and it runs just fine. I have been trying to replicate the issue, at some times of the day the code take 17 mins to run and some times 8 mins (via scheduler). But when run manually it always runs ~8 mins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was NO change/modification made to the code before the problem started happening. There was though a vulnerability fix done to the SAS web server (apache) from my client side.We also tried changing the network location of the datasets to F drive, we are still facing the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why this would be happening? and how to fix this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Apeksha Pathak&lt;/P&gt;&lt;P&gt;Apeksha Pathak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2016 08:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296379#M20208</guid>
      <dc:creator>apeksha</dc:creator>
      <dc:date>2016-09-04T08:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS code runs manually but "hangs" when run Automatically</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296515#M20210</link>
      <description>&lt;P&gt;Are X, Y, and Z all SAS datasets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 12:03:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296515#M20210</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2016-09-05T12:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS code runs manually but "hangs" when run Automatically</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296777#M20226</link>
      <description>&lt;P&gt;If this coincides with a software update, such as you mention about Apache, I would investigate any permissions you use. Possibly the "fix" defaulted to a traffic limit setting, read/write permission change or similar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your scheduler may have slightly different permissions set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when you say "run manually" do you mean in EG or Base SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 15:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-code-runs-manually-but-quot-hangs-quot-when-run/m-p/296777#M20226</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-06T15:59:30Z</dc:date>
    </item>
  </channel>
</rss>

