<?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: message PROC SQL in Developers</title>
    <link>https://communities.sas.com/t5/Developers/message-PROC-SQL/m-p/75443#M3481</link>
    <description>after proc sql you can check for the errors in the proc sql execution as&lt;BR /&gt;
%if &amp;amp;sqlrc ne 0 %then&lt;BR /&gt;
%do;&lt;BR /&gt;
   %let ReturnCustomError=Error During insert ;&lt;BR /&gt;
   %return;&lt;BR /&gt;
%end;&lt;BR /&gt;
&lt;BR /&gt;
/* SQLXRC -  contains the DBMS-specific return code that is returned by the Pass-Through Facility. */</description>
    <pubDate>Fri, 16 Apr 2010 08:40:13 GMT</pubDate>
    <dc:creator>DataShare</dc:creator>
    <dc:date>2010-04-16T08:40:13Z</dc:date>
    <item>
      <title>message PROC SQL</title>
      <link>https://communities.sas.com/t5/Developers/message-PROC-SQL/m-p/75442#M3480</link>
      <description>I am creating a small stp web app. &lt;BR /&gt;
I created some PK in a small table. The thing is, when an insert happens the STP will fail if there is a integrity constraint violation. Is there some PROC SQL OPTION or something that when the violation happens I can take this 'error return code' and send a message instead of failing?&lt;BR /&gt;
&lt;BR /&gt;
jp</description>
      <pubDate>Thu, 15 Apr 2010 14:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/message-PROC-SQL/m-p/75442#M3480</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-04-15T14:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: message PROC SQL</title>
      <link>https://communities.sas.com/t5/Developers/message-PROC-SQL/m-p/75443#M3481</link>
      <description>after proc sql you can check for the errors in the proc sql execution as&lt;BR /&gt;
%if &amp;amp;sqlrc ne 0 %then&lt;BR /&gt;
%do;&lt;BR /&gt;
   %let ReturnCustomError=Error During insert ;&lt;BR /&gt;
   %return;&lt;BR /&gt;
%end;&lt;BR /&gt;
&lt;BR /&gt;
/* SQLXRC -  contains the DBMS-specific return code that is returned by the Pass-Through Facility. */</description>
      <pubDate>Fri, 16 Apr 2010 08:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/message-PROC-SQL/m-p/75443#M3481</guid>
      <dc:creator>DataShare</dc:creator>
      <dc:date>2010-04-16T08:40:13Z</dc:date>
    </item>
  </channel>
</rss>

