<?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: Locate SQLXRC and SQLXMSG in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Locate-SQLXRC-and-SQLXMSG/m-p/64813#M14083</link>
    <description>Well, these are the refered macro variables. You should have these %put's right after your SQL that updates your DB2 tables. The contents of these macro variables will be printed to the SAS LOG.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
    <pubDate>Fri, 05 Dec 2008 21:29:53 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2008-12-05T21:29:53Z</dc:date>
    <item>
      <title>Locate SQLXRC and SQLXMSG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Locate-SQLXRC-and-SQLXMSG/m-p/64812#M14082</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Some of my programs use SAS for insert/update into DB2 tabels in mainframe. While running a program, I got an error message "A DB2 error has occurred while processing this statement.The DB2 return code and error message are contained in the SQLXRC and SQLXMSG macro variables." &lt;BR /&gt;
But I am not able to locate these variables. I do see that my code has the statements as&lt;BR /&gt;
%put &amp;amp;sqlxrc;&lt;BR /&gt;
%put &amp;amp;sqlxmsg;&lt;BR /&gt;
&lt;BR /&gt;
Could someone help me find out these variables? &lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sarmi</description>
      <pubDate>Fri, 05 Dec 2008 21:08:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Locate-SQLXRC-and-SQLXMSG/m-p/64812#M14082</guid>
      <dc:creator>SABAT</dc:creator>
      <dc:date>2008-12-05T21:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Locate SQLXRC and SQLXMSG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Locate-SQLXRC-and-SQLXMSG/m-p/64813#M14083</link>
      <description>Well, these are the refered macro variables. You should have these %put's right after your SQL that updates your DB2 tables. The contents of these macro variables will be printed to the SAS LOG.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Fri, 05 Dec 2008 21:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Locate-SQLXRC-and-SQLXMSG/m-p/64813#M14083</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-12-05T21:29:53Z</dc:date>
    </item>
  </channel>
</rss>

