<?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: Stored Process fails when scheduled, but runs fine when run on-demand in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592156#M2514</link>
    <description>&lt;P&gt;This is likely related to the server that you have selected to execute the stored process. Please see this SAS Note:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/41/751.html" target="_blank"&gt;http://support.sas.com/kb/41/751.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 13:55:59 GMT</pubDate>
    <dc:creator>Madelyn_SAS</dc:creator>
    <dc:date>2019-09-27T13:55:59Z</dc:date>
    <item>
      <title>Stored Process fails when scheduled, but runs fine when run on-demand</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592105#M2510</link>
      <description>&lt;P&gt;I have a stored process that runs perfectly when opened in WRS through File&amp;gt;Open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I &lt;FONT size="4"&gt;&lt;STRONG&gt;schedule&lt;/STRONG&gt; &lt;/FONT&gt;the exact same stored process though, it shows a&amp;nbsp;&lt;SPAN&gt;Failed status. I am stuck trying to decipher why and where it failed, when it runs fine when it is run manually in WRS. There were also no errors whatsoever during debugging in EG.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is impossible to determine without any link to the log in the Status, it just says Failed point blank. How can I see the SAS log from the Stored Process that the schedule ran?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 09:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592105#M2510</guid>
      <dc:creator>sustagens</dc:creator>
      <dc:date>2019-09-27T09:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process fails when scheduled, but runs fine when run on-demand</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592109#M2511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/281550"&gt;@sustagens&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be due scheduling issues and not STP code. How are you scheduling STP, using SMC?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 09:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592109#M2511</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-09-27T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process fails when scheduled, but runs fine when run on-demand</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592111#M2512</link>
      <description>I just do it in Web Report Studio, I schedule the report that is the output of the STP. Within my code I also update tables stored in permanent libraries. Is the answer to my problem in SMC?</description>
      <pubDate>Fri, 27 Sep 2019 09:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592111#M2512</guid>
      <dc:creator>sustagens</dc:creator>
      <dc:date>2019-09-27T09:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process fails when scheduled, but runs fine when run on-demand</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592123#M2513</link>
      <description>&lt;P&gt;There are few&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?cdcId=bicdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=biwaag&amp;amp;docsetTarget=p182f6twrfy3ven1rwhhrqtcxktj.htm&amp;amp;locale=en#n01pm0aom1b967n1gdrvc3bz3rux" target="_self"&gt;Roles and Capabilities&lt;/A&gt;&amp;nbsp;that are required in order to schedule reports. Please check if the ID you are using have these roles. If not, you will have to check with your site administrator to help you grant these permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592123#M2513</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-09-27T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process fails when scheduled, but runs fine when run on-demand</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592156#M2514</link>
      <description>&lt;P&gt;This is likely related to the server that you have selected to execute the stored process. Please see this SAS Note:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/41/751.html" target="_blank"&gt;http://support.sas.com/kb/41/751.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 13:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592156#M2514</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2019-09-27T13:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process fails when scheduled, but runs fine when run on-demand</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592544#M2515</link>
      <description>&lt;P&gt;Thank you Madelyn_SAS, you are right - it looks like it's because I have set up the stored process to run using the Workspace server.&lt;BR /&gt;&lt;BR /&gt;Upon changing it to run using the Stored Process server though, it error'ed when I ran it in EG - due to not having "appropriate authorisation" to the permanent libraries. It turns out:&lt;BR /&gt;"The SAS Stored Process Server is launched using the multi-user credentials account defined in the properties of the server (by default, the SAS General Servers group login account, sassrv, is used)."&lt;BR /&gt;&lt;BR /&gt;So it looks like the default sassrv doesn't have access to the permanent libraries. I have asked for access to SAS Management Console so I can set up multi-user credentials and try to schedule it again. Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 03:08:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Stored-Process-fails-when-scheduled-but-runs-fine-when-run-on/m-p/592544#M2515</guid>
      <dc:creator>sustagens</dc:creator>
      <dc:date>2019-09-30T03:08:34Z</dc:date>
    </item>
  </channel>
</rss>

