<?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 %If &amp;amp;syscc &amp;gt; 999 %then % do in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807437#M318355</link>
    <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;I have this:&lt;/P&gt;
&lt;P&gt;%If &amp;amp;syscc &amp;gt; 999 %then % do&lt;/P&gt;
&lt;P&gt;What does &amp;amp;syscc &amp;gt; 999 do/ mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know &amp;amp;syscc is a read/ write automatic macro variable that enable us to reset the job condition code and to recover from conditions that prevent subsequent steps from running.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;blue &amp;amp; blue&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 17:47:25 GMT</pubDate>
    <dc:creator>GN0001</dc:creator>
    <dc:date>2022-04-12T17:47:25Z</dc:date>
    <item>
      <title>%If &amp;syscc &gt; 999 %then % do</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807437#M318355</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;I have this:&lt;/P&gt;
&lt;P&gt;%If &amp;amp;syscc &amp;gt; 999 %then % do&lt;/P&gt;
&lt;P&gt;What does &amp;amp;syscc &amp;gt; 999 do/ mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know &amp;amp;syscc is a read/ write automatic macro variable that enable us to reset the job condition code and to recover from conditions that prevent subsequent steps from running.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;blue &amp;amp; blue&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 17:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807437#M318355</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2022-04-12T17:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: %If &amp;syscc &gt; 999 %then % do</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807449#M318359</link>
      <description>&lt;P&gt;See :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WUSS 2018 , Paper 077-2018&lt;BR /&gt;Stop the Madness!&lt;BR /&gt;Detecting Runtime Errors and Exiting from Nested Macros Gracefully&lt;BR /&gt;Ted D. Williams, PharmD, BCPS, Magellan Method&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/wuss/2018/77_Final_Paper_PDF.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2018/77_Final_Paper_PDF.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To me, any SYSCC above 4 rings an alarm bell.&lt;BR /&gt;No idea when it goes above 999 (if set by the SAS software).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 18:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807449#M318359</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-04-12T18:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: %If &amp;syscc &gt; 999 %then % do</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807451#M318360</link>
      <description>&lt;P&gt;That someone wants to perform some action only when the value of &amp;amp;syscc is greater than 999. Finding all of the possible values for such codes can be a chore. Plus your code could set specified values for the variable for some specific meaning to the programmer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Searching the online documentation for SYSCC will bring up a link about SAS Macro Error Messages that contains.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-eDocBody"&gt;
&lt;DIV id="n1mcxptbxr3qhwn1q6swv33z8akq" class="xis-topic"&gt;
&lt;DIV id="n1u15f1nrg7y80n1cw495y0pzf38" class="xis-topicContent"&gt;
&lt;DIV id="n1ak29q2ph90g5n11u89vfojc3r8" class="xis-errorMessage"&gt;
&lt;DIV class="xis-errorMessageText"&gt;&lt;CODE class="xis-codeDefaultStyle"&gt;Error: The value                        supplied for assignment to the numeric automatic macro variable &lt;A name="~1" target="_blank"&gt;&lt;/A&gt;&lt;FONT style="background-color: #fcdec0;"&gt;SYSCC&lt;/FONT&gt;                        was out of range or could not be converted to a numeric value.                            &lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV id="n0jpkxrfz2fz3zn1n1hvz84k50cz" class="xis-table"&gt;
&lt;TABLE class="tgroup"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="xis-verticalTop" style="text-align: left;"&gt;
&lt;DIV id="n0c6emtys34x0on1ms6rc4kq2clb" class="xis-paraTableFirst"&gt;Cause&lt;/DIV&gt;
&lt;/TH&gt;
&lt;TH class="xis-verticalTop" style="text-align: left;"&gt;
&lt;DIV id="p1lzkho9d5h6mtn1h20wrkr9jlr1" class="xis-paraTableFirst"&gt;Solution&lt;/DIV&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;DIV id="p1o7qksonmh5e0n1tsqeds7m77yf" class="xis-paraTableFirst"&gt;An attempt was made to use a value of 9999999999 or greater for the &lt;FONT style="background-color: #fcdec0;"&gt;SYSCC&lt;/FONT&gt; automatic macro variable.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD style="text-align: left;"&gt;
&lt;DIV id="p0lg028cajwldmn1elwc7y2np4aa" class="xis-paraTableFirst"&gt;The value for the &lt;FONT style="background-color: #fcdec0;"&gt;SYSCC&lt;/FONT&gt; automatic macro variable must be less than 9999999999.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Apr 2022 18:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/807451#M318360</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-12T18:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: %If &amp;syscc &gt; 999 %then % do</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/808636#M318854</link>
      <description>Hello, &lt;BR /&gt;Can you please explain more?&lt;BR /&gt;Regards,&lt;BR /&gt;Blueblue</description>
      <pubDate>Tue, 19 Apr 2022 17:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/808636#M318854</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2022-04-19T17:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: %If &amp;syscc &gt; 999 %then % do</title>
      <link>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/808642#M318856</link>
      <description>&lt;P&gt;To understand what YOUR program is doing we need to see YOUR program.&amp;nbsp; What statements is it running that might modify the macro variable SYSCC.&amp;nbsp; What it is doing when the values is greater than 999.&amp;nbsp; Whether the code really has a space between the % and the DO .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To read more about SYSCC look at the SAS documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Search:&amp;nbsp;&lt;A href="https://www.google.com/search?q=%40sas.com+sysCc+automatic+macro+variable" target="_self"&gt;@sas.com syscc automatic macro variable&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Read:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/p11nt7mv7k9hl4n1x9zwkralgq1b.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/mcrolref/p11nt7mv7k9hl4n1x9zwkralgq1b.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 18:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/If-amp-syscc-gt-999-then-do/m-p/808642#M318856</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-19T18:06:44Z</dc:date>
    </item>
  </channel>
</rss>

