<?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 to get return code of Scheduled Project(EG7.1) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482345#M31257</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set up a Scheduled Project with EG7.1 executed by our own scheduleder, not with windows scheduler. Once I create vbs file with EG7.1 and call vbs script from batch file as following,&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;cscript %Path%\EGScript1.vbs&lt;BR /&gt;echo EGScript1=%errorlevel%&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But even if my sas program in vbs finished with errors, return code always set to "0".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please anyone show me how to get return code of EG's scheduled project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 04:24:08 GMT</pubDate>
    <dc:creator>AsakoOkano</dc:creator>
    <dc:date>2018-07-30T04:24:08Z</dc:date>
    <item>
      <title>how to get return code of Scheduled Project(EG7.1)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482345#M31257</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to set up a Scheduled Project with EG7.1 executed by our own scheduleder, not with windows scheduler. Once I create vbs file with EG7.1 and call vbs script from batch file as following,&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;cscript %Path%\EGScript1.vbs&lt;BR /&gt;echo EGScript1=%errorlevel%&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But even if my sas program in vbs finished with errors, return code always set to "0".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please anyone show me how to get return code of EG's scheduled project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 04:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482345#M31257</guid>
      <dc:creator>AsakoOkano</dc:creator>
      <dc:date>2018-07-30T04:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to get return code of Scheduled Project(EG7.1)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482369#M31259</link>
      <description>&lt;P&gt;Do not schedule EG projects, schedule SAS code. SAS programs run in batch give you proper return codes.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 05:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482369#M31259</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-07-30T05:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to get return code of Scheduled Project(EG7.1)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482441#M31261</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/74379"&gt;@AsakoOkano&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;On a high level: Your VB script run successfully and that's the return code you get. You need to create some logic within your script which captures the max return code of the child processes the VB script triggers.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 12:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-get-return-code-of-Scheduled-Project-EG7-1/m-p/482441#M31261</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-07-30T12:20:18Z</dc:date>
    </item>
  </channel>
</rss>

