<?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: Syntax use in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574766#M162465</link>
    <description>&lt;P&gt;You rock. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2019 19:55:52 GMT</pubDate>
    <dc:creator>ChuksManuel</dc:creator>
    <dc:date>2019-07-18T19:55:52Z</dc:date>
    <item>
      <title>Syntax use</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574760#M162463</link>
      <description>&lt;P&gt;Hello programmers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset in the form displayed in the pic and i am trying to select only observation in "Label1" that have the "Mean" and "Std Deviation".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a syntax of the code i've written but i'm getting error messages.&lt;/P&gt;&lt;PRE&gt;861  Data moment11; set moment1;
862  If 'N''Skewness''Uncorrected SS' 'Coeff Variation' ne. Label1 then delete;
                                      -----------------
                                      388
                                      200
                                      76
ERROR 388-185: Expecting an arithmetic operator.

ERROR 200-322: The symbol is not recognized and will be ignored.

ERROR 76-322: Syntax error, statement will be ignored.

863  run;

NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.MOMENT11 may be incomplete.  When this step was stopped there were 0
         observations and 12 variables.
WARNING: Data set WORK.MOMENT11 was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31131i976E03D346A5D7ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data moment11; set moment1;
If 'N''Skewness''Uncorrected SS' 'Coeff Variation' ne. Label1 then delete;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please what's wrong with my code? I want to leave only observations with Mean and Std deviation in the dataset.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 19:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574760#M162463</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-07-18T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax use</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574763#M162464</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I want to leave only observations with Mean and Std deviation in the dataset.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if label1 in ('Mean','Std Deviation');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please note that (at least in the above code) capitalization, punctuation, location of spaces,&amp;nbsp;&lt;EM&gt;etc.&lt;/EM&gt; must exactly match the values in LABEL1.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 19:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574763#M162464</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-18T19:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax use</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574766#M162465</link>
      <description>&lt;P&gt;You rock. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 19:55:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-use/m-p/574766#M162465</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-07-18T19:55:52Z</dc:date>
    </item>
  </channel>
</rss>

