<?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: getting error on END in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697734#M213291</link>
    <description>&lt;P&gt;Where do you get values to test for Parm4 ='mon' or anything?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best practice for this forum when you receive any error message is to copy from the Log the entire data step or procedure along with any notes, messages, warnings or errors, open a code box on the forum using the &amp;lt;/&amp;gt; icon and then paste the entire log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Editing out parts you think are not needed is way too often important because of missing semicolons or mismatched quotes or parentheses prior to where the actual error gets reported.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 21:37:04 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-11-09T21:37:04Z</dc:date>
    <item>
      <title>getting error on END</title>
      <link>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697722#M213284</link>
      <description>&lt;P&gt;data abc;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if parm4="mon" then do;&lt;/P&gt;&lt;P&gt;%mdate;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if parm4="qtr" then do;&lt;/P&gt;&lt;P&gt;%qdate;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting error:&lt;/P&gt;&lt;P&gt;ERROR 180-322:Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;Showing red mark(error) on END; statement in log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to resolve this error.Please provide me solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 21:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697722#M213284</guid>
      <dc:creator>nirupama1</dc:creator>
      <dc:date>2020-11-09T21:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: getting error on END</title>
      <link>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697725#M213286</link>
      <description>&lt;P&gt;It's likely something in the macro code we cannot see. Please run the code with the macro debugging options and show us the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mprint symbolgen;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/227032"&gt;@nirupama1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;data abc;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if parm4="mon" then do;&lt;/P&gt;
&lt;P&gt;%mdate;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if parm4="qtr" then do;&lt;/P&gt;
&lt;P&gt;%qdate;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting error:&lt;/P&gt;
&lt;P&gt;ERROR 180-322:Statement is not valid or it is used out of proper order.&lt;/P&gt;
&lt;P&gt;Showing red mark(error) on END; statement in log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to resolve this error.Please provide me solution&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 21:18:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697725#M213286</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-09T21:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: getting error on END</title>
      <link>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697734#M213291</link>
      <description>&lt;P&gt;Where do you get values to test for Parm4 ='mon' or anything?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best practice for this forum when you receive any error message is to copy from the Log the entire data step or procedure along with any notes, messages, warnings or errors, open a code box on the forum using the &amp;lt;/&amp;gt; icon and then paste the entire log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Editing out parts you think are not needed is way too often important because of missing semicolons or mismatched quotes or parentheses prior to where the actual error gets reported.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 21:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/getting-error-on-END/m-p/697734#M213291</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-09T21:37:04Z</dc:date>
    </item>
  </channel>
</rss>

