<?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 Error message: variable is uninitialized in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-message-variable-is-uninitialized/m-p/137703#M37043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;Hi Everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;I'm new to SAS and I'm having trouble fixing this error message: variable &lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;&lt;EM&gt;color&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt; is uninitialized. Some of the suggestions I have found elsewhere on how to fix this don't seem to apply (the original variable is in the dataset and I haven't misspelled anything). Any other ideas on how to fix this? Also, I'm trying to convert a character variable to a new numeric variable in this code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;data newdataset;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;color2=.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;if color="black" then color2=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;if color="red" then color2=2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Nov 2013 14:27:22 GMT</pubDate>
    <dc:creator>AnneW</dc:creator>
    <dc:date>2013-11-10T14:27:22Z</dc:date>
    <item>
      <title>Error message: variable is uninitialized</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-message-variable-is-uninitialized/m-p/137703#M37043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;Hi Everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;I'm new to SAS and I'm having trouble fixing this error message: variable &lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;&lt;EM&gt;color&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt; is uninitialized. Some of the suggestions I have found elsewhere on how to fix this don't seem to apply (the original variable is in the dataset and I haven't misspelled anything). Any other ideas on how to fix this? Also, I'm trying to convert a character variable to a new numeric variable in this code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;data newdataset;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;color2=.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;if color="black" then color2=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;if color="red" then color2=2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; background-color: #fafafa;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 14:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-message-variable-is-uninitialized/m-p/137703#M37043</guid>
      <dc:creator>AnneW</dc:creator>
      <dc:date>2013-11-10T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error message: variable is uninitialized</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-message-variable-is-uninitialized/m-p/137704#M37044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to add a SET statement to bring in your original dataset that has the variable COLOR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 15:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-message-variable-is-uninitialized/m-p/137704#M37044</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-11-10T15:12:16Z</dc:date>
    </item>
  </channel>
</rss>

