<?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: SYSERR CODE 2000 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441030#M110273</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Does the log have other errors? I would guess so and that would be significantly easier to debug.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the user's log, it shows the error message as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR:&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which was very cryptic.&amp;nbsp; Then, I added &amp;amp;SYSERR in two places.&amp;nbsp; The first one came back as 0 and the second one came back as 2000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's between ODS PDF FILE= ...., PROC REPORT, and ODS PDF CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't replicate this on my own because I don't have an error since it works fine.&amp;nbsp; I've attached a log for review.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 21:27:01 GMT</pubDate>
    <dc:creator>CurtisER</dc:creator>
    <dc:date>2018-02-28T21:27:01Z</dc:date>
    <item>
      <title>SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441014#M110266</link>
      <description>&lt;P&gt;What does this error code 2000 returned from &amp;amp;SYSERR mean?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;2000 Semantic action problem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have an user who keeps encountering this error on a Linux machine.&amp;nbsp; When I run this user's code under my account on a Linux machine, it ran fine with return code 0.&amp;nbsp; However, this user consistently keeps getting return code 2000.&amp;nbsp; Does it have to something with the user's SAS profile and/or configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, can someone explain what is a "semantic action problem"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 20:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441014#M110266</guid>
      <dc:creator>CurtisER</dc:creator>
      <dc:date>2018-02-28T20:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441019#M110269</link>
      <description>&lt;P&gt;Does the log have other errors? I would guess so and that would be significantly easier to debug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sadly, a return code of 0 doesn't mean something ran successfully either.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.class;
var weight;
output out=want mean= / autotest
run;

%put &amp;amp;syserr.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441019#M110269</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-28T21:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441025#M110271</link>
      <description>&lt;P&gt;Covered on page 12-16 of&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/publishing/pubcat/chaps/57743.pdf" target="_self"&gt;http://support.sas.com/publishing/pubcat/chaps/57743.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:15:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441025#M110271</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-02-28T21:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441030#M110273</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Does the log have other errors? I would guess so and that would be significantly easier to debug.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the user's log, it shows the error message as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR:&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which was very cryptic.&amp;nbsp; Then, I added &amp;amp;SYSERR in two places.&amp;nbsp; The first one came back as 0 and the second one came back as 2000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's between ODS PDF FILE= ...., PROC REPORT, and ODS PDF CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't replicate this on my own because I don't have an error since it works fine.&amp;nbsp; I've attached a log for review.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441030#M110273</guid>
      <dc:creator>CurtisER</dc:creator>
      <dc:date>2018-02-28T21:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441031#M110274</link>
      <description>&lt;P&gt;Good reference info -- My search didn't come across this document earlier.&amp;nbsp; I'll review this.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441031#M110274</guid>
      <dc:creator>CurtisER</dc:creator>
      <dc:date>2018-02-28T21:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441100#M110298</link>
      <description>&lt;P&gt;Since the error is right after this line:&lt;/P&gt;
&lt;PRE class="bp-text bp-text-plain hljs"&gt;&lt;CODE class="txt"&gt;ods pdf file="&amp;lt;deleted&amp;gt;/reports/sa_compare_x11_seats_oct.pdf" notoc;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the user have access to this location to create a file in that location?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 02:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441100#M110298</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-01T02:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441202#M110330</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Does the user have access to this location to create a file in that location?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, we both do.&amp;nbsp; The user actually owns the directory.&amp;nbsp; The &amp;lt;deleted&amp;gt; part is reacted but it is a fully qualified path from root level down to the reports subdirectory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Under my account, I ran the code myself and I didn't have any errors and the PDF was generated.&amp;nbsp; Under this user's account, the user got this error with code 2000.&amp;nbsp; If there was truly&amp;nbsp;an error in the code, I would have gotten the same error as the user did but it did not happen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's why I'm at a loss to explain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 14:32:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441202#M110330</guid>
      <dc:creator>CurtisER</dc:creator>
      <dc:date>2018-03-01T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: SYSERR CODE 2000</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441250#M110352</link>
      <description>&lt;P&gt;I'd probably say, pull it out of the macro/stored process, run each step individually so you can isolate where exactly the error is occurring and go from there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 16:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSERR-CODE-2000/m-p/441250#M110352</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-01T16:09:54Z</dc:date>
    </item>
  </channel>
</rss>

