<?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: Scheduling SAS program with Windows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940765#M369232</link>
    <description>&lt;P&gt;In a client/server environment, I&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;STRONGLY&lt;/STRONG&gt;&lt;/U&gt; recommend to use server-side scheduling with SAS program files (.sas), not client-side with EG projects.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2024 12:50:30 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2024-08-25T12:50:30Z</dc:date>
    <item>
      <title>Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940733#M369217</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to run my SAS program every day at 3 pm. I'm scheduling the task with Windows, but it doesn't seem to be working. Do you have any suggestions, please ? How to indicate the path correctly in windows environment ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1724530327320.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99611i49A9A5610DE9A2CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1724530327320.png" alt="SASdevAnneMarie_0-1724530327320.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 20:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940733#M369217</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2024-08-24T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940734#M369218</link>
      <description>&lt;P&gt;You can't tell us "it doesn't work" and provide no other information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What did you try? SHOW US&lt;/P&gt;
&lt;P&gt;What happened? SHOW US or explain in detail&lt;/P&gt;
&lt;P&gt;What is wrong with what happened?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 20:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940734#M369218</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-08-24T20:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940735#M369219</link>
      <description>&lt;P&gt;You have SAS installed on the Windows machine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Windows scheduler, I use "Create Task"&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Then for action I select "Start a program"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program points to the sas executable, e.g.:&lt;/P&gt;
&lt;P&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then I add the path to my .sas file as an option&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-sysin "C:\MyDir\MyProgram.sas"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One the main task page, there are options for storing credentials, etc you might have to play with.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;But as Paige said, please explain what you have tried, even showing screen shots of the task you have tried could hlep.&amp;nbsp; And then show what happens when you try to run the task manually.&amp;nbsp; It may show helpful error messages if the Windows scheduler can't start the job.&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>Sat, 24 Aug 2024 20:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940735#M369219</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-08-24T20:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940736#M369220</link>
      <description>&lt;P&gt;Is this Windows SAS on a PC&amp;nbsp; or Windows on a SAS Server? If this is a SAS server then SAS provides scheduling capabilities via SAS Management Console.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2024 23:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940736#M369220</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-08-24T23:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940762#M369229</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Je pense que je me trompe quand je déclare le chemin vers mon projet egp&amp;nbsp;et le planificateur ne fait aucune action, alors que le programme se lance manuellement&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1724581150537.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99615iD4B58F4F92D899B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1724581150537.png" alt="SASdevAnneMarie_0-1724581150537.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Au lieu de \\XXX\XXX\XXX\Producti - V3.egp je dois indiquer «&amp;nbsp;C&amp;nbsp;:\Program Files\SASHome\SASFoundation\9.4\sas.exe&amp;nbsp;»&amp;nbsp;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Et sur une autre ligne «&amp;nbsp;Ajouter des arguments (facultatif)&amp;nbsp;: » -sysin «&amp;nbsp;C&amp;nbsp;:\MonRép\MonProgramme.sas&amp;nbsp;»&amp;nbsp;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Merci !&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 10:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940762#M369229</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2024-08-25T10:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940763#M369230</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems you are trying to schedule Enterprise Guide project rather than SAS program, therefore I would recommend you check these resources for possible examples on how to&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2013/08/14/four-ways-to-schedule-sas-tasks/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2013/08/14/four-ways-to-schedule-sas-tasks/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other related links:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sasdummy/2012/04/17/doing-more-with-sas-enterprise-guide-automation/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2012/04/17/doing-more-with-sas-enterprise-guide-automation/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://support.sas.com/documentation/onlinedoc/guide/examples/SASGF2012/Hemedinger_298-2012.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/guide/examples/SASGF2012/Hemedinger_298-2012.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automation/ta-p/417832/load-autosave/true#form_0" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automation/ta-p/417832/load-autosave/true#form_0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 11:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940763#M369230</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2024-08-25T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940765#M369232</link>
      <description>&lt;P&gt;In a client/server environment, I&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;STRONGLY&lt;/STRONG&gt;&lt;/U&gt; recommend to use server-side scheduling with SAS program files (.sas), not client-side with EG projects.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 12:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940765#M369232</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-08-25T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940771#M369235</link>
      <description>&lt;P&gt;Thank you Kurt!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mean that I must to do this while scheduling :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASdevAnneMarie_0-1724592981503.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99616i8AAB37AB5B56C339/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1724592981503.png" alt="SASdevAnneMarie_0-1724592981503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 13:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940771#M369235</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2024-08-25T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling SAS program with Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940780#M369237</link>
      <description>&lt;P&gt;If you do this on the&amp;nbsp;&lt;EM&gt;servers&lt;/EM&gt; console in a client-server setup.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 18:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-SAS-program-with-Windows/m-p/940780#M369237</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-08-25T18:54:02Z</dc:date>
    </item>
  </channel>
</rss>

