<?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 Return codes for jobs in sas viya in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Return-codes-for-jobs-in-sas-viya/m-p/868457#M343072</link>
    <description>&lt;P&gt;Hello eveyone,&lt;/P&gt;
&lt;P&gt;i am running some scheduled jobs in sas viya which works well, however sometimes the return code or result is not good .&lt;/P&gt;
&lt;P&gt;Example : you get the job finished with warning as a status but inside logs you find errors.&lt;/P&gt;
&lt;P&gt;it feels that it is not returning the correct status.&lt;/P&gt;
&lt;P&gt;Do you have ideas ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 13:54:08 GMT</pubDate>
    <dc:creator>aloou</dc:creator>
    <dc:date>2023-04-06T13:54:08Z</dc:date>
    <item>
      <title>Return codes for jobs in sas viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Return-codes-for-jobs-in-sas-viya/m-p/868457#M343072</link>
      <description>&lt;P&gt;Hello eveyone,&lt;/P&gt;
&lt;P&gt;i am running some scheduled jobs in sas viya which works well, however sometimes the return code or result is not good .&lt;/P&gt;
&lt;P&gt;Example : you get the job finished with warning as a status but inside logs you find errors.&lt;/P&gt;
&lt;P&gt;it feels that it is not returning the correct status.&lt;/P&gt;
&lt;P&gt;Do you have ideas ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 13:54:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Return-codes-for-jobs-in-sas-viya/m-p/868457#M343072</guid>
      <dc:creator>aloou</dc:creator>
      <dc:date>2023-04-06T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Return codes for jobs in sas viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Return-codes-for-jobs-in-sas-viya/m-p/869066#M343301</link>
      <description>&lt;P&gt;One possibility is to run your jobs with the option ERRORABEND - that way you are sure that the job will fail if there is an error. Just put&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options errorabend;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in your program, or you can just put ERRORABEND in the config file for batch jobs.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 09:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Return-codes-for-jobs-in-sas-viya/m-p/869066#M343301</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2023-04-11T09:50:56Z</dc:date>
    </item>
  </channel>
</rss>

