<?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 How do I determine if data is truncated in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776464#M246962</link>
    <description>&lt;P&gt;I have 1 million rows of Excel data that I import with SAS. How can I tell if the data is not truncated?use 【import data】&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 13:05:37 GMT</pubDate>
    <dc:creator>Phoenix_LJ</dc:creator>
    <dc:date>2021-10-26T13:05:37Z</dc:date>
    <item>
      <title>How do I determine if data is truncated</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776464#M246962</link>
      <description>&lt;P&gt;I have 1 million rows of Excel data that I import with SAS. How can I tell if the data is not truncated?use 【import data】&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 13:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776464#M246962</guid>
      <dc:creator>Phoenix_LJ</dc:creator>
      <dc:date>2021-10-26T13:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if data is truncated</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776467#M246964</link>
      <description>&lt;P&gt;What do you mean by "truncated"?&lt;/P&gt;
&lt;P&gt;Missing observations, or missing data at the end of single observations?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 13:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776467#M246964</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-26T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine if data is truncated</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776487#M246977</link>
      <description>&lt;P&gt;How do you "import" the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you use Proc Import you would have to manually look at long values in the data if you mean truncated variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default Proc Import will only examine 20 lines or so of data before setting properties of variables. So if the longest values of your variables do not occur in the first 20 rows then you may have truncated data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you expect to use Proc Import with very large files I strongly suggest that you export the data from Excel to a CSV file using File&amp;gt;Save As. Then use the option Guessingrows=max; which is available with importing delimited text but &lt;STRONG&gt;not&lt;/STRONG&gt; Excel file formats. The option makes the program run longer as it examines more rows of the data to set properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or write a data step where YOU control the variable names and characteristics to read the CSV file. If you expect to read multiple files of the same structure the data step is about the only way to get the same characteristics for each file.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 14:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-determine-if-data-is-truncated/m-p/776487#M246977</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-27T14:06:35Z</dc:date>
    </item>
  </channel>
</rss>

