<?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 PROC IMPORT Numeric Characters in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-IMPORT-Numeric-Characters/m-p/47490#M6178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using PROC IMPORT to read in a .csv file.&amp;nbsp; I have a variable PATIENT that is a patient ID number.&amp;nbsp; My issue is that most of the entries are numbers, but the very last one has an "S" before it suggesting that this patient was screened from the study.&amp;nbsp; SAS hits that last record thinking that it should be a number, deletes it, and gives me an error message saying that import was unsuccessful.&amp;nbsp; Is there an option that I am not finding that will adjust the variable type if there are characters in a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2011 13:07:28 GMT</pubDate>
    <dc:creator>djbateman</dc:creator>
    <dc:date>2011-08-12T13:07:28Z</dc:date>
    <item>
      <title>PROC IMPORT Numeric Characters</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-IMPORT-Numeric-Characters/m-p/47490#M6178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using PROC IMPORT to read in a .csv file.&amp;nbsp; I have a variable PATIENT that is a patient ID number.&amp;nbsp; My issue is that most of the entries are numbers, but the very last one has an "S" before it suggesting that this patient was screened from the study.&amp;nbsp; SAS hits that last record thinking that it should be a number, deletes it, and gives me an error message saying that import was unsuccessful.&amp;nbsp; Is there an option that I am not finding that will adjust the variable type if there are characters in a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 13:07:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-IMPORT-Numeric-Characters/m-p/47490#M6178</guid>
      <dc:creator>djbateman</dc:creator>
      <dc:date>2011-08-12T13:07:28Z</dc:date>
    </item>
    <item>
      <title>PROC IMPORT Numeric Characters</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-IMPORT-Numeric-Characters/m-p/47491#M6179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your easiest solution would be to grab the code that proc import creates and simply modify it so that you are reading the field(s) as characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A nice artice on the method can be found at: &lt;A class="jive-link-external-small" href="http://www2.sas.com/proceedings/sugi30/038-30.pdf" style="font-size: 12px; outline-style: none; color: #0e66ba;"&gt;http://www2.sas.com/proceedings/sugi30/038-30.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The article contains step-by-step instructions for accomplishing such a task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 13:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-IMPORT-Numeric-Characters/m-p/47491#M6179</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-12T13:55:57Z</dc:date>
    </item>
  </channel>
</rss>

