<?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: how to check error location in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278667#M58929</link>
    <description>&lt;P&gt;When you create a post, on top of the text area you find a sequence of icons:&lt;/P&gt;
&lt;P&gt;Formatting: bold, italic, underlined, strikethrough, spoiler tag&lt;/P&gt;
&lt;P&gt;The next icon after the little vertical line is the {i}, followed by the running man symbol that opens a window for posting SAS code&lt;/P&gt;
&lt;P&gt;Both of these use a fixed-space font; while the option for entering SAS code also adds syntax highlighting, the {i} does not and is therfore good for showing example data or log excerpts.&lt;/P&gt;
&lt;P&gt;Just click on the {i} and paste the log part into the window that opens.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 13:28:09 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-06-20T13:28:09Z</dc:date>
    <item>
      <title>how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278653#M58926</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;when SAS error happen, there is a message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"ERROR 180-312: The symbol is not recognized and will be ignored."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what does the 200-322 here mean? error's location? how to use this information?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278653#M58926</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2016-06-20T12:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278656#M58927</link>
      <description>&lt;P&gt;The position of the message indicates (in the line above) the location that SAS complains about.&lt;/P&gt;
&lt;P&gt;That does not mean the cause is actually there. Often the wrong syntax comes earlier in the code (like a missing semicolon).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you post the relevant log portion (use the {i} icon, so formatting is preserved), we might be able to finde the cause for the message.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278656#M58927</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-20T13:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278658#M58928</link>
      <description>Thank you, can you show me how to use the {i} icon?? &lt;BR /&gt;&lt;BR /&gt;Thank you very much!</description>
      <pubDate>Mon, 20 Jun 2016 13:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278658#M58928</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2016-06-20T13:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278667#M58929</link>
      <description>&lt;P&gt;When you create a post, on top of the text area you find a sequence of icons:&lt;/P&gt;
&lt;P&gt;Formatting: bold, italic, underlined, strikethrough, spoiler tag&lt;/P&gt;
&lt;P&gt;The next icon after the little vertical line is the {i}, followed by the running man symbol that opens a window for posting SAS code&lt;/P&gt;
&lt;P&gt;Both of these use a fixed-space font; while the option for entering SAS code also adds syntax highlighting, the {i} does not and is therfore good for showing example data or log excerpts.&lt;/P&gt;
&lt;P&gt;Just click on the {i} and paste the log part into the window that opens.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278667#M58929</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-20T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278686#M58934</link>
      <description>&lt;PRE&gt;53   data a;
54    h t2y ;
      -
      180
ERROR 180-322: Statement is not valid or it is used out of proper
               order.

55   run;

NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.A may be incomplete.  When this step was
         stopped there were 0 observations and 0 variables.
WARNING: Data set WORK.A was not replaced because this step was
         stopped.
&lt;/PRE&gt;
&lt;P&gt;This is an example of&amp;nbsp;error log of the following simple SAS code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; a;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000" face="Courier New" size="2"&gt;&lt;FONT color="#ff0000" face="Courier New" size="2"&gt;&lt;FONT color="#ff0000" face="Courier New" size="2"&gt;h&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; t2y ;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;the&amp;nbsp;question is how to explain&amp;nbsp;:&amp;nbsp;"180-322:"&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 14:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278686#M58934</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2016-06-20T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278697#M58940</link>
      <description>&lt;P&gt;George,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;180-322:&amp;nbsp; Statement is not valid ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is SAS's way of giving up.&amp;nbsp; It says that you made an error, but SAS can't figure out a message to supply that would help you correct the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no "h" statement in SAS.&amp;nbsp; What is this statement supposed to accomplish:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;h t2y;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 14:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278697#M58940</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-06-20T14:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278706#M58941</link>
      <description>&lt;P&gt;h t2y is just an example to get the error.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 15:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278706#M58941</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2016-06-20T15:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to check error location</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278918#M58960</link>
      <description>&lt;P&gt;180-322 is your basic syntax error message: what you wrote is not allowed here, period. It's either rubbish (non-SAS text) or SAS code that might be valid in another place (happens if you accidentally entered a semicolon before some words that still belong to the previous statement)&lt;/P&gt;
&lt;P&gt;eg&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
(compress=yes);
set .....&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Jun 2016 06:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-check-error-location/m-p/278918#M58960</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-21T06:00:13Z</dc:date>
    </item>
  </channel>
</rss>

