<?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: how to define variable when using Proc Import in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-define-variable-when-using-Proc-Import/m-p/60793#M17236</link>
    <description>You might want to check out the GUESSINGROWS option. It has a default of 20. This means that if your longer fields appear after 20 rows, IMPORT will not consider them when calculating the column length.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
    <pubDate>Tue, 11 Nov 2008 20:18:00 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2008-11-11T20:18:00Z</dc:date>
    <item>
      <title>how to define variable when using Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-define-variable-when-using-Proc-Import/m-p/60792#M17235</link>
      <description>Hi,&lt;BR /&gt;
I want to import a .txt data to SAS using proc import. But SAS always truncates my string variables. e.g. EXCESSIVEWET is truncated to be EXCESSIV.&lt;BR /&gt;
&lt;BR /&gt;
How do I define the length of variable while using proc import? the procedure that I used is:&lt;BR /&gt;
&lt;BR /&gt;
Proc import datafile='C:\Nov.txt'&lt;BR /&gt;
   out=mylib.nov dbms=tab replace;&lt;BR /&gt;
   getnames=yes;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Tue, 11 Nov 2008 16:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-define-variable-when-using-Proc-Import/m-p/60792#M17235</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-11T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to define variable when using Proc Import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-define-variable-when-using-Proc-Import/m-p/60793#M17236</link>
      <description>You might want to check out the GUESSINGROWS option. It has a default of 20. This means that if your longer fields appear after 20 rows, IMPORT will not consider them when calculating the column length.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 11 Nov 2008 20:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-define-variable-when-using-Proc-Import/m-p/60793#M17236</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-11-11T20:18:00Z</dc:date>
    </item>
  </channel>
</rss>

