<?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: SMC - Scheduled Jobs - VBS error in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SMC-Scheduled-Jobs-VBS-error/m-p/414118#M11210</link>
    <description>&lt;P&gt;Please try the following. It may or may not work.&lt;/P&gt;
&lt;P&gt;1.Double Quote the below path and run the job.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\\fileserver1\Users\Durrant\Reports\Weekly O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;boarding Report\New Customer Purchases\Archive\Export.xlsx'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. Create sample vbs file to copy the below file from location to another and check if you get an access error. If yes, we can make sure that, the userid(execution userid ) does not have access to below location or a file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\\fileserver1\Users\Durrant\Reports\Weekly O&lt;BR /&gt;boarding Report\New Customer Purchases\Archive\Export.xlsx'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 20:28:43 GMT</pubDate>
    <dc:creator>againreddy</dc:creator>
    <dc:date>2017-11-16T20:28:43Z</dc:date>
    <item>
      <title>SMC - Scheduled Jobs - VBS error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SMC-Scheduled-Jobs-VBS-error/m-p/393271#M10279</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are in the final&amp;nbsp;stages of installing SAS on a new server and are now rescheduling all of our jobs.&amp;nbsp; For some reason, I am getting the below error when I call a VBS file using cscript and pipe (example.. 'cscript "\\fileserver1\Users\Durrant\Reports\Weekly Onboarding Report\New Customer&amp;nbsp;Purchases\NCP.vbs"'.&amp;nbsp; I only get this error when I schedule the job.&amp;nbsp; If I run directly in base SAS on the server or EG on a end user computer, it works fine.&amp;nbsp;&amp;nbsp; The file and path both exist.&amp;nbsp; It's not being used by another program and I am not saving it as the same name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In google and forum searches, I found serveral suggestions to confirm that xcmd is inacted in the Server.&amp;nbsp; I have confirmed that it is active (not the default noxcmnd).&amp;nbsp; Any other suggestions for what might be causing the error in scheduled jobs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"\\fileserver1\Users\Durrant\Reports\Weekly Onboarding Report\New Customer Purchases\NCP.vbs(30, 1) Microsoft Excel: Microsoft Excel &lt;BR /&gt;cannot access the file '\\fileserver1\Users\Durrant\Reports\Weekly O&lt;BR /&gt;boarding Report\New Customer Purchases\Archive\Export.xlsx'. There are several possible reasons:&lt;/P&gt;
&lt;P&gt;&amp;#7; The file name or path does not exist.&lt;BR /&gt;&amp;#7; The file is being used by another program.&lt;BR /&gt;&amp;#7; The workbook you are trying to save has the same name as a currently open workbook."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 15:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SMC-Scheduled-Jobs-VBS-error/m-p/393271#M10279</guid>
      <dc:creator>stuart_snap</dc:creator>
      <dc:date>2017-09-05T15:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: SMC - Scheduled Jobs - VBS error</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SMC-Scheduled-Jobs-VBS-error/m-p/414118#M11210</link>
      <description>&lt;P&gt;Please try the following. It may or may not work.&lt;/P&gt;
&lt;P&gt;1.Double Quote the below path and run the job.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\\fileserver1\Users\Durrant\Reports\Weekly O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;boarding Report\New Customer Purchases\Archive\Export.xlsx'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. Create sample vbs file to copy the below file from location to another and check if you get an access error. If yes, we can make sure that, the userid(execution userid ) does not have access to below location or a file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\\fileserver1\Users\Durrant\Reports\Weekly O&lt;BR /&gt;boarding Report\New Customer Purchases\Archive\Export.xlsx'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 20:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SMC-Scheduled-Jobs-VBS-error/m-p/414118#M11210</guid>
      <dc:creator>againreddy</dc:creator>
      <dc:date>2017-11-16T20:28:43Z</dc:date>
    </item>
  </channel>
</rss>

