<?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: Can't run VBS scripts from within SAS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173334#M12406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phil: Since you indicate that it will run correctly from the command prompt, I can think of one alternative that would be easy to test, namely putting the command (to run the vb script) in a .bat file and using the x command to run the .bat file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 17:29:45 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2014-10-06T17:29:45Z</dc:date>
    <item>
      <title>Can't run VBS scripts from within SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173333#M12405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I am trying to use an x command to open/run a vbs script. The command is simply: options noxsync noxwait; x "F:\SAS_USER\myname\SAS2script\ext_files\VBS_TEST.vbs"; The VBS script is supposed to move data from a csv file to an excel work book and then run a macro. You can tell that it partially works, because an Excel process is started in the background. However, this excel process doesn't doesn't run any macros. When I run the very same command using command prompt, everything works fine. Has anyone ever experienced anything like this (script working in command prompt but not in SAS)? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 17:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173333#M12405</guid>
      <dc:creator>PhilfromGermany</dc:creator>
      <dc:date>2014-10-06T17:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run VBS scripts from within SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173334#M12406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phil: Since you indicate that it will run correctly from the command prompt, I can think of one alternative that would be easy to test, namely putting the command (to run the vb script) in a .bat file and using the x command to run the .bat file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 17:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173334#M12406</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-10-06T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run VBS scripts from within SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173335#M12407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response, Arthur. I tried running the batch file with the command to run the vbs script, but it still isn't working. Then I tried the same thing in SAS Base (I walys use Enterprise Guide) and it worked. I was able to run both, batch file and vbs script directly via X command using SAS Base. So it looks as if something is blocking x commands in Enterprise Guide.&lt;/P&gt;&lt;P&gt;BTW: I already allowed XCMD on the workspace server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 11:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173335#M12407</guid>
      <dc:creator>PhilfromGermany</dc:creator>
      <dc:date>2014-10-07T11:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run VBS scripts from within SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173336#M12408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phil: This may help: &lt;A href="http://blogs.sas.com/content/sasdummy/2009/11/19/using-the-x-and-systask-commands-from-sas-enterprise-guide/" title="http://blogs.sas.com/content/sasdummy/2009/11/19/using-the-x-and-systask-commands-from-sas-enterprise-guide/"&gt; Using the X and SYSTASK commands from SAS Enterprise Guide - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:40:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-t-run-VBS-scripts-from-within-SAS/m-p/173336#M12408</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-10-07T12:40:02Z</dc:date>
    </item>
  </channel>
</rss>

