<?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: Automatic System macro variable SYSERRORTEXT not resolved in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8398#M302</link>
    <description>Try this&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/technote/ts739.pdf" target="_blank"&gt;http://support.sas.com/techsup/technote/ts739.pdf&lt;/A&gt;</description>
    <pubDate>Thu, 19 Mar 2009 19:52:48 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2009-03-19T19:52:48Z</dc:date>
    <item>
      <title>Automatic System macro variable SYSERRORTEXT not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8397#M301</link>
      <description>Hello!!!&lt;BR /&gt;
&lt;BR /&gt;
In my code, I want to capture the last Error/Warning message printed in the log file which is generated during Data Step processing. &lt;BR /&gt;
&lt;BR /&gt;
For the same, I am trying to use the system automatic macro variables SYSERRORTEXT and SYSWARNINGTEXT. But unfortunately these automatic macro variables are not getting resolved and giving following error &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
WARNING: Apparent symbolic reference SYSERRORTEXT not resolved.&lt;BR /&gt;
WARNING: Apparent symbolic reference SYSWARNINGTEXT not resolved.&lt;BR /&gt;
&lt;BR /&gt;
I suspect these variables work only for SAS 9.2 and higher versions. I am using BASE SAS 9.1.3 Service Pack 4 version software where I am unable to use these macro variables.&lt;BR /&gt;
&lt;BR /&gt;
Please suggest is there any other way to capture the error/warning text generated during Data Step processing.&lt;BR /&gt;
&lt;BR /&gt;
Any help regarding above issue would be highly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
Kapil Agrawal</description>
      <pubDate>Thu, 19 Mar 2009 16:05:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8397#M301</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-19T16:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic System macro variable SYSERRORTEXT not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8398#M302</link>
      <description>Try this&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/technote/ts739.pdf" target="_blank"&gt;http://support.sas.com/techsup/technote/ts739.pdf&lt;/A&gt;</description>
      <pubDate>Thu, 19 Mar 2009 19:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8398#M302</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-03-19T19:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic System macro variable SYSERRORTEXT not resolved</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8399#M303</link>
      <description>Thnx!!!!&lt;BR /&gt;
&lt;BR /&gt;
The link is really useful. I got a way to fetch the error text as specified in the document.&lt;BR /&gt;
&lt;BR /&gt;
Thanks a ton for the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Kapil</description>
      <pubDate>Mon, 30 Mar 2009 06:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatic-System-macro-variable-SYSERRORTEXT-not-resolved/m-p/8399#M303</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-30T06:32:37Z</dc:date>
    </item>
  </channel>
</rss>

