<?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: Values shrink while import the csv file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773204#M245588</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/215282"&gt;@Sathish_jammy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p13kvtl8ezj13in17i6m99jypcwi.htm" target="_blank" rel="noopener"&gt;GUESSINGROWS statement&lt;/A&gt; to increase the number of rows examined by PROC IMPORT to guess (!) the appropriate length (and type) of the variables, e.g.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;guessingrows=max;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to be on the safe side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better still, write your own DATA step to read the CSV file and take control over all variable attributes -- based on the documentation of the record layout (which you hopefully have) rather than guesswork.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Oct 2021 10:12:34 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2021-10-09T10:12:34Z</dc:date>
    <item>
      <title>Values shrink while import the csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773202#M245587</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a CSV file with multiple columns. While converting the CSV file into a dataset using Proc import, Some values in random columns are getting shrink.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In CSV file there is an ID 'TNGPM000023662'&lt;/P&gt;
&lt;P&gt;After Import the data it has&amp;nbsp;'TNGPM00002366' (The last number is missed)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likewise, some random columns read only the limited set of values in Proc Import.&lt;/P&gt;
&lt;P&gt;Kindly suggest a best method to read all the data values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 09:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773202#M245587</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2021-10-09T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Values shrink while import the csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773204#M245588</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/215282"&gt;@Sathish_jammy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p13kvtl8ezj13in17i6m99jypcwi.htm" target="_blank" rel="noopener"&gt;GUESSINGROWS statement&lt;/A&gt; to increase the number of rows examined by PROC IMPORT to guess (!) the appropriate length (and type) of the variables, e.g.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;guessingrows=max;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to be on the safe side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better still, write your own DATA step to read the CSV file and take control over all variable attributes -- based on the documentation of the record layout (which you hopefully have) rather than guesswork.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 10:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773204#M245588</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-10-09T10:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Values shrink while import the csv file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773206#M245590</link>
      <description>&lt;P&gt;I was going to write those exact same words.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/215282"&gt;@Sathish_jammy&lt;/a&gt;&amp;nbsp;Abide by these words.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Oct 2021 10:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Values-shrink-while-import-the-csv-file/m-p/773206#M245590</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-10-09T10:21:57Z</dc:date>
    </item>
  </channel>
</rss>

