<?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: vbs and EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69914#M6987</link>
    <description>You might also check out this note:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Enterprise-Guide.html" target="_blank"&gt;http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Enterprise-Guide.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
    <pubDate>Wed, 16 Feb 2011 16:25:57 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2011-02-16T16:25:57Z</dc:date>
    <item>
      <title>vbs and EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69912#M6985</link>
      <description>Hi &lt;BR /&gt;
a little birdy suggested me to post here a question about the launch of a VBS in EG.&lt;BR /&gt;
&lt;BR /&gt;
The question is simple perhaps naive but could I execute this data inside EG &lt;BR /&gt;
1. if the session invoked is on the same machine than EG (personal computer with an EBI platform)&lt;BR /&gt;
2. on a remote server&lt;BR /&gt;
&lt;BR /&gt;
options noxsync noxwait xmin ;&lt;BR /&gt;
data _null_;&lt;BR /&gt;
x 'd:\stef.vbs';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
On my personal computer with EBI, this step leaves the session running and I have to kill the process.&lt;BR /&gt;
&lt;BR /&gt;
Does EG not support OLE launch as DDE launch and I have no possibility to run that ?&lt;BR /&gt;
&lt;BR /&gt;
stef.vbs :&lt;BR /&gt;
&lt;BR /&gt;
option explicit&lt;BR /&gt;
&lt;BR /&gt;
dim word 'the Word application&lt;BR /&gt;
dim doc 'the Word document&lt;BR /&gt;
dim selection 'text selection&lt;BR /&gt;
&lt;BR /&gt;
set word = createobject("word.application")&lt;BR /&gt;
word.visible = False&lt;BR /&gt;
word.DisplayAlerts = 0&lt;BR /&gt;
set doc = word.documents.add&lt;BR /&gt;
set selection = word.selection&lt;BR /&gt;
selection.typetext "An Automated Word Report"&lt;BR /&gt;
selection.typeparagraph&lt;BR /&gt;
&lt;BR /&gt;
doc.saveas("d:\zztestdoc.doc")&lt;BR /&gt;
&lt;BR /&gt;
word.Quit&lt;BR /&gt;
&lt;BR /&gt;
set word = nothing&lt;BR /&gt;
&lt;BR /&gt;
Any idea ?&lt;BR /&gt;
&lt;BR /&gt;
Edit : I can successfully execute x command like that &lt;BR /&gt;
data _null_; &lt;BR /&gt;
x 'echo "funstuff"&amp;gt;  d:\temp\myfunstuff.txt'; &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data _null_; &lt;BR /&gt;
x 'mkdir d:\temp\hello'; &lt;BR /&gt;
run;

Message was edited by: Stephane</description>
      <pubDate>Mon, 07 Feb 2011 21:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69912#M6985</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2011-02-07T21:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: vbs and EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69913#M6986</link>
      <description>From me to me : you need a administrator user on the machine and then the vbs will be executed.</description>
      <pubDate>Wed, 09 Feb 2011 15:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69913#M6986</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2011-02-09T15:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: vbs and EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69914#M6987</link>
      <description>You might also check out this note:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Enterprise-Guide.html" target="_blank"&gt;http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Enterprise-Guide.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Wed, 16 Feb 2011 16:25:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/vbs-and-EG/m-p/69914#M6987</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2011-02-16T16:25:57Z</dc:date>
    </item>
  </channel>
</rss>

