<?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 73-322: Expecting an =. / Error 200-322: Symbol is not recognized in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411196#M21529</link>
    <description>&lt;P&gt;The LABEL statement has the syntax&lt;/P&gt;
&lt;P&gt;LABEL varname&amp;nbsp;= "string";&lt;/P&gt;
&lt;P&gt;You are getting errors because you are not specifying the name of&amp;nbsp;a SAS variable. To find the names of the variables, use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC CONTENTS data=BIASTAT.CPD sort;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2017 14:28:51 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-11-07T14:28:51Z</dc:date>
    <item>
      <title>Error 73-322: Expecting an =. / Error 200-322: Symbol is not recognized</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411190#M21524</link>
      <description>&lt;P&gt;My data is birthweight vs gestation length for a class. 666 observations. I'm using the SAS university version and I can't figure out how to get the errors to go away. I have tried removing the 'g', removing the word 'under', taking out extra spaces. I just checked the data and there are no holes. Although my frequency table says I'm missing 1 value. I need to export my new data set with my new variables and their categories, but I an getting this error and the categories are not populating in to my new data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My input:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA BIOSTAT.CPD4;
SET BIOSTAT.CPD;
LABEL Under 1000g = "Under 1000 (grams)"
		Over 1000g = "Over 1000 (grams)"
		Under 800g = "Under 800 (grams)"
		800g-1200g = "800 - 1200 (grams)"
		Over 1200g = "Over 1200 (grams)"
		22-31 weeks = "Under 31 weeks"
		31-40 weeks = "Over 31 weeks"
		22-27 weeks = "Under 27 weeks"
		27-31 weeks = "27-31 weeks"
		31-40 weeks = "Over 31 weeks";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Info from the log page:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;911  DATA BIOSTAT.CPD4;
912  SET BIOSTAT.CPD;
913  LABEL Under 1000 = "Under 1000 (grams)"
                 ----
                 73
                 200
ERROR 73-322: Expecting an =.

ERROR 200-322: The symbol is not recognized and will be ignored.

914          Over 1000g = "Over 1000 (grams)"
915          Under 800g = "Under 800 (grams)"
916          800g-1200g = "800 - 1200 (grams)"
917          Over 1200g = "Over 1200 (grams)"
918          22-31 weeks = "Under 31 weeks"
919          31-40 weeks = "Over 31 weeks"
920          22-27 weeks = "Under 27 weeks"
921          27-31 weeks = "27-31 weeks"
922          31-40 weeks = "Over 31 weeks";
923  RUN;

NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set BIOSTAT.CPD4 may be incomplete.  When this step was stopped there were 0
         observations and 5 variables.
WARNING: Data set BIOSTAT.CPD4 was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
      real time           0.06 seconds
      cpu time            0.00 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please let me know if I'm completely screwing this up. It's due on this coming Friday.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411190#M21524</guid>
      <dc:creator>abrianaj</dc:creator>
      <dc:date>2017-11-07T14:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error 73-322: Expecting an =. / Error 200-322: Symbol is not recognized</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411195#M21528</link>
      <description>&lt;P&gt;In the label statement, you have to give actual (valid) SAS variable names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under 1000g is not a valid SAS variable name. Valid SAS variable names cannot have spaces in them. You might want to do a PROC CONTENTS to find what the actual variable names are in BIOSTAT.CPD4&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411195#M21528</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-07T14:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error 73-322: Expecting an =. / Error 200-322: Symbol is not recognized</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411196#M21529</link>
      <description>&lt;P&gt;The LABEL statement has the syntax&lt;/P&gt;
&lt;P&gt;LABEL varname&amp;nbsp;= "string";&lt;/P&gt;
&lt;P&gt;You are getting errors because you are not specifying the name of&amp;nbsp;a SAS variable. To find the names of the variables, use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC CONTENTS data=BIASTAT.CPD sort;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411196#M21529</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-11-07T14:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error 73-322: Expecting an =. / Error 200-322: Symbol is not recognized</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411199#M21530</link>
      <description>&lt;P&gt;I would really suggest you take some basic SAS lessons, maybe watch the SAS videos.&amp;nbsp; This is a very basic question.&amp;nbsp; Using the Label statement in your datastep is to label variables.&amp;nbsp; It has the form:&lt;/P&gt;
&lt;P&gt;label &amp;lt;variablename&amp;gt; &amp;lt;labeltext&amp;gt; [&amp;lt;variablename&amp;gt; &amp;lt;labeltext&amp;gt;];&lt;/P&gt;
&lt;P&gt;This:&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token function"&gt;LABEL&lt;/SPAN&gt; Under &lt;SPAN class="token number"&gt;1000&lt;/SPAN&gt;g &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"Under 1000 (grams)"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Does not conform to that at all, as Under 1000g is not a valid SAS variable Name.&amp;nbsp; Without further information as to what you are attempting its hard to say, but I would think the variable with the label "Under 1000g" has a name, and it is this name you need to put there, say it was called&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411199#M21530</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-11-07T14:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error 73-322: Expecting an =. / Error 200-322: Symbol is not recognized</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411366#M21540</link>
      <description>&lt;P&gt;I literally just found out about this program for school in August.&amp;nbsp;Basic questions lead to easy answers, no? Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 20:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411366#M21540</guid>
      <dc:creator>abrianaj</dc:creator>
      <dc:date>2017-11-07T20:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error 73-322: Expecting an =. / Error 200-322: Symbol is not recognized</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411595#M21575</link>
      <description>&lt;P&gt;You might also want to take a look at Proc FORMAT as well.&amp;nbsp; It seems that may be what you are looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 17:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-73-322-Expecting-an-Error-200-322-Symbol-is-not-recognized/m-p/411595#M21575</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2017-11-08T17:08:04Z</dc:date>
    </item>
  </channel>
</rss>

