<?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: Does sas stored process ignore some errors? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/906005#M357790</link>
    <description>&lt;P&gt;Yes.&lt;BR /&gt;After all you are executing a SAS code in STP. &lt;BR /&gt;Proc transpose is outputing an error and it is quite possible that the source datasets are different.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 14:15:36 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2023-12-04T14:15:36Z</dc:date>
    <item>
      <title>Does sas stored process ignore some errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905922#M357766</link>
      <description>&lt;P&gt;I have a piece of SAS code that make some calculation, and to finish, add a line to a table "T", when I run the code on sas enterprise guide, gives the error below, after a "proc transpose" step, and no line is added to the table "T"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yassine_ben_1-1701648756297.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90720i68DBEF569486894E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yassine_ben_1-1701648756297.png" alt="yassine_ben_1-1701648756297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I run a stored process, having the same code, it doesn't return the error, and the line is added to the table "T"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyone ever dealt with the same situation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 00:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905922#M357766</guid>
      <dc:creator>yassine_ben</dc:creator>
      <dc:date>2023-12-04T00:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Does sas stored process ignore some errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905927#M357769</link>
      <description>&lt;P&gt;Can you please share the log?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 01:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905927#M357769</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-12-04T01:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Does sas stored process ignore some errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905957#M357779</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you mean the stored process execution log?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 09:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905957#M357779</guid>
      <dc:creator>yassine_ben</dc:creator>
      <dc:date>2023-12-04T09:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Does sas stored process ignore some errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905963#M357781</link>
      <description>&lt;P&gt;Are you 100% sure that SP and EG (?) are processing the same input files?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 10:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905963#M357781</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2023-12-04T10:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Does sas stored process ignore some errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905980#M357785</link>
      <description>&lt;P&gt;No, that should not happen.&amp;nbsp; Most likely you don't have the same data in scoring_client_p3 for some reason.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That error message means that in your data, there is at least one case where there are multiple records that have the same value for NumDossier and Score_Name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could add a step to identify these duplicate values:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=scoring_client_p3;
by NumDossier  Score_Name;
run;

data dups;
  set scoring_client_p3;
  by NumDossier Score_Name;
  if not (first.score_name and last.score_name);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When you run that in EG, you should see at least two records in dups.&amp;nbsp; Sounds like when you run in it in the stored process, dups will have 0 records.&amp;nbsp; That will confirm there is a difference in your data, which you would need to investigate.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 12:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/905980#M357785</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-12-04T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does sas stored process ignore some errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/906005#M357790</link>
      <description>&lt;P&gt;Yes.&lt;BR /&gt;After all you are executing a SAS code in STP. &lt;BR /&gt;Proc transpose is outputing an error and it is quite possible that the source datasets are different.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 14:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-sas-stored-process-ignore-some-errors/m-p/906005#M357790</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-12-04T14:15:36Z</dc:date>
    </item>
  </channel>
</rss>

