<?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 how could I get outputs from stored procedure in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-could-I-get-outputs-from-stored-procedure/m-p/447483#M69527</link>
    <description>&lt;P&gt;Hi there, I write a simple SAS stored procedure please see below, running a command from system, after it is finished, I want to publish a message to show the procedure finished, how could I do? Second, is there anyway I could return and publish the running results from the command I run from system? Please advise, thank you!&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;do;&lt;BR /&gt;call system ("ksh /xxx/cleanup_process.sh &amp;gt;&amp;gt; /xxx/crontabjob.log 2&amp;gt;&amp;amp;1");&lt;BR /&gt;call system ("echo cleanup_procee.sh is finished");&amp;nbsp; /*this doesn't work*/&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 16:25:37 GMT</pubDate>
    <dc:creator>bluewind123</dc:creator>
    <dc:date>2018-03-21T16:25:37Z</dc:date>
    <item>
      <title>how could I get outputs from stored procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-could-I-get-outputs-from-stored-procedure/m-p/447483#M69527</link>
      <description>&lt;P&gt;Hi there, I write a simple SAS stored procedure please see below, running a command from system, after it is finished, I want to publish a message to show the procedure finished, how could I do? Second, is there anyway I could return and publish the running results from the command I run from system? Please advise, thank you!&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;do;&lt;BR /&gt;call system ("ksh /xxx/cleanup_process.sh &amp;gt;&amp;gt; /xxx/crontabjob.log 2&amp;gt;&amp;amp;1");&lt;BR /&gt;call system ("echo cleanup_procee.sh is finished");&amp;nbsp; /*this doesn't work*/&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-could-I-get-outputs-from-stored-procedure/m-p/447483#M69527</guid>
      <dc:creator>bluewind123</dc:creator>
      <dc:date>2018-03-21T16:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: how could I get outputs from stored procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-could-I-get-outputs-from-stored-procedure/m-p/447684#M69547</link>
      <description>To be able to return any message from s system call, use FILENAME PIPE instead.&lt;BR /&gt;&lt;BR /&gt;For returning anything to the user there's a lot of documentation and papers on the subject.  &lt;BR /&gt;Hint: _webout.</description>
      <pubDate>Thu, 22 Mar 2018 05:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-could-I-get-outputs-from-stored-procedure/m-p/447684#M69547</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-03-22T05:25:01Z</dc:date>
    </item>
  </channel>
</rss>

