<?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 [Problem] Launch a VBS script from SAS Ent. Guide in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71880#M7150</link>
    <description>I tried to launch a script VBs from a SAS Ent Guide project.&lt;BR /&gt;
&lt;BR /&gt;
I follow the instruction mentionned here : &lt;A href="http://support.sas.com/kb/13/501.html" target="_blank"&gt;http://support.sas.com/kb/13/501.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
-- -- --&lt;BR /&gt;
 data _null_;&lt;BR /&gt;
      X "E:\SITE.vbs"&lt;BR /&gt;
 run ;&lt;BR /&gt;
-- -- --&lt;BR /&gt;
&lt;BR /&gt;
So, I created a CODE and pasted the lines here upper but I get a message error from SAS which is :&lt;BR /&gt;
&lt;BR /&gt;
1          ;*';*";*/;quit;run;&lt;BR /&gt;
2          OPTIONS PAGENO=MIN;&lt;BR /&gt;
3          %LET _CLIENTTASKLABEL=%NRBQUOTE(Code);&lt;BR /&gt;
4          %LET _EGTASKLABEL=%NRBQUOTE(Code);&lt;BR /&gt;
5          %LET _CLIENTPROJECTNAME=%NRBQUOTE();&lt;BR /&gt;
6          %LET _SASPROGRAMFILE=;&lt;BR /&gt;
7          &lt;BR /&gt;
8          ODS _ALL_ CLOSE;&lt;BR /&gt;
NOTE: Some of your options or statements may not be supported with the Activex or Java series of devices.  Graph defaults for these &lt;BR /&gt;
      drivers may be different from other SAS/GRAPH device drivers.  For further information, please contact Technical Support.&lt;BR /&gt;
9          OPTIONS DEV=ACTIVEX;&lt;BR /&gt;
10         FILENAME EGHTML TEMP;&lt;BR /&gt;
NOTE: Writing HTML(EGHTML) Body file: EGHTML&lt;BR /&gt;
11         ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault&lt;BR /&gt;
11       ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault.css")&lt;BR /&gt;
11       ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe") NOGTITLE NOGFOOTNOTE GPATH=&amp;amp;sasworklocation&lt;BR /&gt;
11       ! ;&lt;BR /&gt;
12         &lt;BR /&gt;
13         %gaccessible;&lt;BR /&gt;
14         &lt;BR /&gt;
15         &lt;BR /&gt;
16         &lt;BR /&gt;
17         &lt;BR /&gt;
WARNING: Shell escape is not valid in this SAS session.&lt;BR /&gt;
18            data _null_;&lt;BR /&gt;
19               X "E:\SITE.vbs"&lt;BR /&gt;
20         	  run&lt;BR /&gt;
20       !        ;&lt;BR /&gt;
21         /*quit;&lt;BR /&gt;
22         run ;&lt;BR /&gt;
23         &lt;BR /&gt;
24         &lt;BR /&gt;
25         &lt;BR /&gt;
26         %LET _CLIENTTASKLABEL=;&lt;BR /&gt;
27         %LET _EGTASKLABEL=;&lt;BR /&gt;
28         %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;
29         %LET _SASPROGRAMFILE=;&lt;BR /&gt;
30         &lt;BR /&gt;
31         ;*';*";*/;quit;run;&lt;BR /&gt;
                     ____&lt;BR /&gt;
                     180&lt;BR /&gt;
&lt;BR /&gt;
ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
      &lt;BR /&gt;
&lt;BR /&gt;
32         ODS _ALL_ CLOSE;&lt;BR /&gt;
33         &lt;BR /&gt;
34         &lt;BR /&gt;
35         QUIT; RUN;&lt;BR /&gt;
36         &lt;BR /&gt;
&lt;BR /&gt;
Any idea from where comes the problem ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance</description>
    <pubDate>Mon, 29 Mar 2010 07:44:36 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-03-29T07:44:36Z</dc:date>
    <item>
      <title>[Problem] Launch a VBS script from SAS Ent. Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71880#M7150</link>
      <description>I tried to launch a script VBs from a SAS Ent Guide project.&lt;BR /&gt;
&lt;BR /&gt;
I follow the instruction mentionned here : &lt;A href="http://support.sas.com/kb/13/501.html" target="_blank"&gt;http://support.sas.com/kb/13/501.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
-- -- --&lt;BR /&gt;
 data _null_;&lt;BR /&gt;
      X "E:\SITE.vbs"&lt;BR /&gt;
 run ;&lt;BR /&gt;
-- -- --&lt;BR /&gt;
&lt;BR /&gt;
So, I created a CODE and pasted the lines here upper but I get a message error from SAS which is :&lt;BR /&gt;
&lt;BR /&gt;
1          ;*';*";*/;quit;run;&lt;BR /&gt;
2          OPTIONS PAGENO=MIN;&lt;BR /&gt;
3          %LET _CLIENTTASKLABEL=%NRBQUOTE(Code);&lt;BR /&gt;
4          %LET _EGTASKLABEL=%NRBQUOTE(Code);&lt;BR /&gt;
5          %LET _CLIENTPROJECTNAME=%NRBQUOTE();&lt;BR /&gt;
6          %LET _SASPROGRAMFILE=;&lt;BR /&gt;
7          &lt;BR /&gt;
8          ODS _ALL_ CLOSE;&lt;BR /&gt;
NOTE: Some of your options or statements may not be supported with the Activex or Java series of devices.  Graph defaults for these &lt;BR /&gt;
      drivers may be different from other SAS/GRAPH device drivers.  For further information, please contact Technical Support.&lt;BR /&gt;
9          OPTIONS DEV=ACTIVEX;&lt;BR /&gt;
10         FILENAME EGHTML TEMP;&lt;BR /&gt;
NOTE: Writing HTML(EGHTML) Body file: EGHTML&lt;BR /&gt;
11         ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault&lt;BR /&gt;
11       ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault.css")&lt;BR /&gt;
11       ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe") NOGTITLE NOGFOOTNOTE GPATH=&amp;amp;sasworklocation&lt;BR /&gt;
11       ! ;&lt;BR /&gt;
12         &lt;BR /&gt;
13         %gaccessible;&lt;BR /&gt;
14         &lt;BR /&gt;
15         &lt;BR /&gt;
16         &lt;BR /&gt;
17         &lt;BR /&gt;
WARNING: Shell escape is not valid in this SAS session.&lt;BR /&gt;
18            data _null_;&lt;BR /&gt;
19               X "E:\SITE.vbs"&lt;BR /&gt;
20         	  run&lt;BR /&gt;
20       !        ;&lt;BR /&gt;
21         /*quit;&lt;BR /&gt;
22         run ;&lt;BR /&gt;
23         &lt;BR /&gt;
24         &lt;BR /&gt;
25         &lt;BR /&gt;
26         %LET _CLIENTTASKLABEL=;&lt;BR /&gt;
27         %LET _EGTASKLABEL=;&lt;BR /&gt;
28         %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;
29         %LET _SASPROGRAMFILE=;&lt;BR /&gt;
30         &lt;BR /&gt;
31         ;*';*";*/;quit;run;&lt;BR /&gt;
                     ____&lt;BR /&gt;
                     180&lt;BR /&gt;
&lt;BR /&gt;
ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
      &lt;BR /&gt;
&lt;BR /&gt;
32         ODS _ALL_ CLOSE;&lt;BR /&gt;
33         &lt;BR /&gt;
34         &lt;BR /&gt;
35         QUIT; RUN;&lt;BR /&gt;
36         &lt;BR /&gt;
&lt;BR /&gt;
Any idea from where comes the problem ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance</description>
      <pubDate>Mon, 29 Mar 2010 07:44:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71880#M7150</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-29T07:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: [Problem] Launch a VBS script from SAS Ent. Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71881#M7151</link>
      <description>Have a look at the note: &lt;A href="http://support.sas.com/kb/14/619.html" target="_blank"&gt;http://support.sas.com/kb/14/619.html&lt;/A&gt;.</description>
      <pubDate>Mon, 29 Mar 2010 10:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71881#M7151</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2010-03-29T10:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Problem] Launch a VBS script from SAS Ent. Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71882#M7152</link>
      <description>&amp;gt; Have a look at the note:&lt;BR /&gt;
&amp;gt; &lt;A href="http://support.sas.com/kb/14/619.html" target="_blank"&gt;http://support.sas.com/kb/14/619.html&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
I know now why it's blocking but I don't know how to deblock it &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
The following warning may be displayed when attempting to remote submit&lt;BR /&gt;
an X command when the -NOXCMD option has been specified:&lt;BR /&gt;
&lt;BR /&gt;
   Warning: Shell escape is not valid in this SAS Session.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
If a script file was used to initiate the SAS/CONNECT SIGNON, make sure&lt;BR /&gt;
the -NOXCMD option was not specified on the SAS invocation statement.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
How can I change it ?&lt;BR /&gt;
Where can I find the SAS invocation statement to modifiy it ?&lt;BR /&gt;
Thank you in advance.&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Fab.from.be

Message was edited by: Fab.from.be</description>
      <pubDate>Mon, 29 Mar 2010 13:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71882#M7152</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-29T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: [Problem] Launch a VBS script from SAS Ent. Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71883#M7153</link>
      <description>For security reasons, I'm not able to use this command ...&lt;BR /&gt;
&lt;BR /&gt;
:/</description>
      <pubDate>Mon, 29 Mar 2010 18:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71883#M7153</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-29T18:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Problem] Launch a VBS script from SAS Ent. Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71884#M7154</link>
      <description>See the following note about using the x command within EG. You're right, by default it's turned off.&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;
If you're working with EG locally but SAS installed on a server, you'll have to petition your SAS administrator to allow the x command on the server. Good luck: there are definite security risks posed by enabling x commands so the admin may say "no". If you have EG and SAS installed locally, the note above should give you a starting point for enabling x commands.</description>
      <pubDate>Wed, 07 Apr 2010 14:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71884#M7154</guid>
      <dc:creator>RichardH_sas</dc:creator>
      <dc:date>2010-04-07T14:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: [Problem] Launch a VBS script from SAS Ent. Guide</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71885#M7155</link>
      <description>I confirmed, it is turned off and will stay like this but ...&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to "run" the VBS through another way ?&lt;BR /&gt;
&lt;BR /&gt;
One of my colleague told my about an hyperlink link that point to the VBS ?&lt;BR /&gt;
&lt;BR /&gt;
So I would get out of SAS Guide, just to launch it and get back just after but this solution will offer me the opportunity to get everything in my SAS project.&lt;BR /&gt;
&lt;BR /&gt;
For the moment, I do need to launch SAS, then go in the explorer and launch the VBS and get back to SAS.&lt;BR /&gt;
&lt;BR /&gt;
What I will appreciate is to "control" (get) everything whithin SAS project.&lt;BR /&gt;
&lt;BR /&gt;
Do you see a way to integrate such a thing ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance !</description>
      <pubDate>Fri, 09 Apr 2010 06:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-Launch-a-VBS-script-from-SAS-Ent-Guide/m-p/71885#M7155</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-04-09T06:49:02Z</dc:date>
    </item>
  </channel>
</rss>

