<?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: execute shel scripts from EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74204#M7372</link>
    <description>Hi Patrick,&lt;BR /&gt;
&lt;BR /&gt;
  Actually I have tried it before.&lt;BR /&gt;
  I may be missing something but, here is what I did --&amp;gt;&lt;BR /&gt;
  X 'cd';  (where my customer4.ksh script is)&lt;BR /&gt;
  X 'customer4.ksh';  (intended to trigger the execution of the script)&lt;BR /&gt;
&lt;BR /&gt;
 This is the script --&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
  #! /usr/bin/ksh&lt;BR /&gt;
  sas -work /sasdata/bicoc_work01 -log ./ -sysin ./procsetinit.sas&lt;BR /&gt;
&lt;BR /&gt;
  From a command line in SSH, the script runs fine.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help,&lt;BR /&gt;
&lt;BR /&gt;
Luiz</description>
    <pubDate>Thu, 23 Sep 2010 15:41:28 GMT</pubDate>
    <dc:creator>LS</dc:creator>
    <dc:date>2010-09-23T15:41:28Z</dc:date>
    <item>
      <title>execute shel scripts from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74202#M7370</link>
      <description>Hi,&lt;BR /&gt;
  I am running EG on AIX. From within a "Program" in EG I can run UNIX commands such as &lt;BR /&gt;
x 'mkdir xxxx' , x "\rm file.txt' , etc..&lt;BR /&gt;
Is there a way to run a .ksh script the same way I run the commands above?&lt;BR /&gt;
&lt;BR /&gt;
Thank you</description>
      <pubDate>Thu, 23 Sep 2010 01:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74202#M7370</guid>
      <dc:creator>LS</dc:creator>
      <dc:date>2010-09-23T01:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: execute shel scripts from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74203#M7371</link>
      <description>Yes it is. &lt;BR /&gt;
Why don't you just try?</description>
      <pubDate>Thu, 23 Sep 2010 08:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74203#M7371</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-09-23T08:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: execute shel scripts from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74204#M7372</link>
      <description>Hi Patrick,&lt;BR /&gt;
&lt;BR /&gt;
  Actually I have tried it before.&lt;BR /&gt;
  I may be missing something but, here is what I did --&amp;gt;&lt;BR /&gt;
  X 'cd';  (where my customer4.ksh script is)&lt;BR /&gt;
  X 'customer4.ksh';  (intended to trigger the execution of the script)&lt;BR /&gt;
&lt;BR /&gt;
 This is the script --&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
  #! /usr/bin/ksh&lt;BR /&gt;
  sas -work /sasdata/bicoc_work01 -log ./ -sysin ./procsetinit.sas&lt;BR /&gt;
&lt;BR /&gt;
  From a command line in SSH, the script runs fine.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help,&lt;BR /&gt;
&lt;BR /&gt;
Luiz</description>
      <pubDate>Thu, 23 Sep 2010 15:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74204#M7372</guid>
      <dc:creator>LS</dc:creator>
      <dc:date>2010-09-23T15:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: execute shel scripts from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74205#M7373</link>
      <description>See this topic:&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>Thu, 23 Sep 2010 18:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74205#M7373</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-09-23T18:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: execute shel scripts from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74206#M7374</link>
      <description>Assuming you're able to use X to submit OS commands from SAS, you should be able to use:&lt;BR /&gt;
&lt;BR /&gt;
 x '/full/path/to/customer4.ksh' ;&lt;BR /&gt;
&lt;BR /&gt;
without needing to use the cd command at all.</description>
      <pubDate>Thu, 30 Sep 2010 15:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74206#M7374</guid>
      <dc:creator>TimB_SAS</dc:creator>
      <dc:date>2010-09-30T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: execute shel scripts from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74207#M7375</link>
      <description>Hello &lt;BR /&gt;
Generally in EG system shell commands are turned off.  Following this thread for details.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/message.jspa?messageID=41152#41152" target="_blank"&gt;http://support.sas.com/forums/message.jspa?messageID=41152#41152&lt;/A&gt;</description>
      <pubDate>Tue, 05 Oct 2010 12:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execute-shel-scripts-from-EG/m-p/74207#M7375</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2010-10-05T12:07:26Z</dc:date>
    </item>
  </channel>
</rss>

