<?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: Error in setting up Schedule Flow in SMC in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430889#M12052</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168948"&gt;@Raven01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you will need to delete a task in the windows task scheduler, that has the same name, then you can schedule the new one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case it does not exist this task, it means you will need permissions on certain folders on the C drive. And, in this case, or either you need a user that is administrator on both SAS environment and the Windows server, or you will need your Windows admin to granto you permissions to be able to schedule tasks.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2018 13:20:08 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2018-01-25T13:20:08Z</dc:date>
    <item>
      <title>Error in setting up Schedule Flow in SMC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430759#M12037</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to schedule the run of a SAS Program in SMC using the steps provided in pages 5 - 8 in &lt;A href="http://support.sas.com/resources/papers/proceedings16/11202-2016.pdf.&amp;nbsp;" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings16/11202-2016.pdf.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am logged in as a SAS admin. However, when I clicked OK, the error is as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;Scheduling of 'New_Job' failed. ('Submission of generated code to &lt;SPAN class="token procnames"&gt;server&lt;/SPAN&gt; failed&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;  
ERROR: Creation of Scheduled Task New_job failed&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt; A task already &lt;SPAN class="token number"&gt;ex&lt;/SPAN&gt;ists with that name&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;
ERROR: ScheduleFlow&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;: A &lt;SPAN class="token function"&gt;system&lt;/SPAN&gt; call to ITaskScheduler::NewWorkItem failed&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;  Windows Error Code: &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="token number"&gt;18446744071562526800&lt;/SPAN&gt;  The &lt;SPAN class="token statement"&gt;file&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;ex&lt;/SPAN&gt;ists&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt; 
ERROR: One or more flows were &lt;SPAN class="token operator"&gt;not&lt;/SPAN&gt; successfully scheduled&lt;SPAN class="token punctuation"&gt;.').&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are settings that I have applied to my new job:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Scheduling Server: Operating System Services - VA server&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SAS Batch Server: SASVA - SAS DATA Step Batch Server&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Directory: Batch Jobs&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Location : /Shared Data/SAS Data Integration/Job&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I successfully setup the scheduling of my SAS Code?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 02:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430759#M12037</guid>
      <dc:creator>Raven01</dc:creator>
      <dc:date>2018-01-25T02:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up Schedule Flow in SMC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430779#M12041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which operating system you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Unix, hope the below web link helps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/46/348.html" target="_blank"&gt;http://support.sas.com/kb/46/348.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 05:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430779#M12041</guid>
      <dc:creator>sandykota</dc:creator>
      <dc:date>2018-01-25T05:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up Schedule Flow in SMC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430783#M12042</link>
      <description>&lt;P&gt;Thanks for the link, but I am using Windows.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 05:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430783#M12042</guid>
      <dc:creator>Raven01</dc:creator>
      <dc:date>2018-01-25T05:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up Schedule Flow in SMC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430889#M12052</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168948"&gt;@Raven01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you will need to delete a task in the windows task scheduler, that has the same name, then you can schedule the new one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case it does not exist this task, it means you will need permissions on certain folders on the C drive. And, in this case, or either you need a user that is administrator on both SAS environment and the Windows server, or you will need your Windows admin to granto you permissions to be able to schedule tasks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 13:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/430889#M12052</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-25T13:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up Schedule Flow in SMC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/431154#M12062</link>
      <description>&lt;P&gt;Thanks for the response,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;. I am using Local SAS Administrator account. Are these the folders I should give access to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;D:\SAS\Config\Lev1\SASVA\SASEnvironment\SASCode\Jobs&lt;/LI&gt;&lt;LI&gt;D:\SAS\Config\Lev1\SASVA\BatchServer\Logs&lt;/LI&gt;&lt;LI&gt;D:\SAS\Config\Lev1\SASVA\BatchServer\Output&lt;/LI&gt;&lt;LI&gt;D:\SAS\Config\Lev1\SASVA\BatchServer\sasbatch.bat&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 26 Jan 2018 02:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/431154#M12062</guid>
      <dc:creator>Raven01</dc:creator>
      <dc:date>2018-01-26T02:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up Schedule Flow in SMC</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/431193#M12064</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168948"&gt;@Raven01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;did you check if that task is already scheduled?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About your question, what you might need access to would be more on the Windows Tasks folder and Windows registry:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/2913816/how-to-find-the-location-of-the-scheduled-tasks-folder" target="_blank"&gt;https://stackoverflow.com/questions/2913816/how-to-find-the-location-of-the-scheduled-tasks-folder&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 08:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Error-in-setting-up-Schedule-Flow-in-SMC/m-p/431193#M12064</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-01-26T08:35:02Z</dc:date>
    </item>
  </channel>
</rss>

