<?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: Numericand Character Values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62351#M13586</link>
    <description>When you submit the import SAS submits some code for you. Recall the code and change the informat from numeric to character. Then sbmit that code. You could then save it for future use.&lt;BR /&gt;
&lt;BR /&gt;
SAS will set the variable type to the type of the first occurence of the variable that it finds in the imported file. So If by chance the first occirence was character, then it would give the variable a character type.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.</description>
    <pubDate>Wed, 19 Nov 2008 14:51:16 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-11-19T14:51:16Z</dc:date>
    <item>
      <title>Numericand Character Values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62350#M13585</link>
      <description>I am importing data from EXCEL to SAS using the builtin "IMPORT" in SAS menu.  One of the variables is "diagnosis code" which is both numeric (e.g. 29963 ) and character (V375).  I want the variable to be character, the problem is that after importing to SAS, in the new SAS data all the codes that start with a character (V375) are set to missing.  Is there a reason why importing is not working? What is the easiest solution?</description>
      <pubDate>Wed, 19 Nov 2008 14:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62350#M13585</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-19T14:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Numericand Character Values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62351#M13586</link>
      <description>When you submit the import SAS submits some code for you. Recall the code and change the informat from numeric to character. Then sbmit that code. You could then save it for future use.&lt;BR /&gt;
&lt;BR /&gt;
SAS will set the variable type to the type of the first occurence of the variable that it finds in the imported file. So If by chance the first occirence was character, then it would give the variable a character type.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.</description>
      <pubDate>Wed, 19 Nov 2008 14:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62351#M13586</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-19T14:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Numericand Character Values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62352#M13587</link>
      <description>Probably does your alphanumerical data appear after the 20th row. so IMPORT spots only numerical values when deciding how to store the column in SAS. To resolve this, set GUESSINGROWS option to a higher value.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a000312413.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/59565/HTML/default/a000312413.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Wed, 19 Nov 2008 14:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Numericand-Character-Values/m-p/62352#M13587</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-11-19T14:52:06Z</dc:date>
    </item>
  </channel>
</rss>

