<?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: ERROR 180-322: Statement is not valid or it is used out of proper order. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290235#M59720</link>
    <description>&lt;P&gt;If you want to modify the data set you need to use a data step.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data filtered;
set ashish.car_sales;
where not missing(price_in_thousands);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to filter the results to display in Proc print then use a where.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Where not missing(price_in_thousands );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 16:53:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-08-08T16:53:18Z</dc:date>
    <item>
      <title>ERROR 180-322: Statement is not valid or it is used out of proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290228#M59718</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname ashish "/folders/myfolders";
proc import datafile="/folders/myfolders/Car_sales.csv" out=Car_sales dbms=csv replace;getnames=yes;
proc copy in=work out=ashish;
select Car_sales;
proc print data=ashish.Car_sales;
IF Price_in_thousands='.' then delete;
run;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4475iD7517091BB6A3A68/image-size/original?v=v2&amp;amp;px=-1" alt="Capture.JPG" title="Capture.JPG" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:57:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290228#M59718</guid>
      <dc:creator>strik11</dc:creator>
      <dc:date>2016-08-08T15:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290234#M59719</link>
      <description>&lt;P&gt;Proc print does not allow If or delete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To show the records where a specific condition is needed use a WHERE clause:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WHERE Price_in_Thousands ne . ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 16:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290234#M59719</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-08T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290235#M59720</link>
      <description>&lt;P&gt;If you want to modify the data set you need to use a data step.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data filtered;
set ashish.car_sales;
where not missing(price_in_thousands);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to filter the results to display in Proc print then use a where.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Where not missing(price_in_thousands );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 16:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/290235#M59720</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-08T16:53:18Z</dc:date>
    </item>
  </channel>
</rss>

