<?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 Postcode not working when the DIS job failes in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589052#M18019</link>
    <description>&lt;P&gt;I've the post code in DIS Job which calls the .sas file via %INCLUDE Statement. It (post code)&amp;nbsp;is working fine when DIS Job ends with success or warning. However it is not working when the DIS Job Fails and I could see the WARNING as follows. I'm not certain why I'm getting the WARNING only when DIS Job fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.sas file which was being called in INCLUDE Statement is not taking any value from the final table which was being created from the DIS Job. May I know how to resolve this issue when the DIS Job failes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;817        /*---- Start of Post-Process Code  ----*/
818        
819        %INCLUDE "/var/sasdata/ifr/SASCode/distudio/metadata_info.sas";
0



WARNING: RUN statement ignored due to previous errors. Submit QUIT; to terminate the procedure.
NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.02 seconds
      cpu time            0.00 seconds
      &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 16 Sep 2019 13:58:13 GMT</pubDate>
    <dc:creator>Babloo</dc:creator>
    <dc:date>2019-09-16T13:58:13Z</dc:date>
    <item>
      <title>Postcode not working when the DIS job failes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589052#M18019</link>
      <description>&lt;P&gt;I've the post code in DIS Job which calls the .sas file via %INCLUDE Statement. It (post code)&amp;nbsp;is working fine when DIS Job ends with success or warning. However it is not working when the DIS Job Fails and I could see the WARNING as follows. I'm not certain why I'm getting the WARNING only when DIS Job fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.sas file which was being called in INCLUDE Statement is not taking any value from the final table which was being created from the DIS Job. May I know how to resolve this issue when the DIS Job failes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;817        /*---- Start of Post-Process Code  ----*/
818        
819        %INCLUDE "/var/sasdata/ifr/SASCode/distudio/metadata_info.sas";
0



WARNING: RUN statement ignored due to previous errors. Submit QUIT; to terminate the procedure.
NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.02 seconds
      cpu time            0.00 seconds
      &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Sep 2019 13:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589052#M18019</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2019-09-16T13:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Postcode not working when the DIS job failes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589064#M18020</link>
      <description>&lt;P&gt;The default behaviour is that no statements are executed in a SAS session when an error occurs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you really need to execute your %include program when a job fails?&lt;/P&gt;
&lt;P&gt;Please describe your requirement so we may can come up with an alternative approach.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 14:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589064#M18020</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-09-16T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Postcode not working when the DIS job failes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589083#M18021</link>
      <description>Yes, I really want to execute INCLUDE statements even when the job fails.&lt;BR /&gt;&lt;BR /&gt;Whether I have to place the INCLUDE statement in some other place or can I&lt;BR /&gt;wrap up my .sas file which was being called in the INCLUDE statement and&lt;BR /&gt;call that macro in some portion of the job?&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Sep 2019 15:14:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589083#M18021</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2019-09-16T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Postcode not working when the DIS job failes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589414#M18031</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not tested, but I guess it could be solved by adding&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class="  language-sas"&gt;option NOSYNTAXCHECK &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;as the first line in your includecode.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Postcode-not-working-when-the-DIS-job-failes/m-p/589414#M18031</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2019-09-17T16:28:56Z</dc:date>
    </item>
  </channel>
</rss>

