<?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 about length of a numeric varaible in dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/about-length-of-a-numeric-varaible-in-dataset/m-p/74042#M15980</link>
    <description>when I define a numeric variable (or attrib) in a dataset,and try to insert a value greater than 2500k, it starts having the round off error, SAS does not complian the overflow (no warning or error) but just insert it with round off error.&lt;BR /&gt;
I am trying to understand how sas stores the numeric value with different length and how to calculate the safe data range for a specified length? which doc? &lt;BR /&gt;
&lt;BR /&gt;
I checked in the help and find that I can add a check constraint. I wonder how much overhead it is when adding this type of constrain to a table? Would it be more efficient by checking the cloumn in the code before inserting the data into the dataset ? &lt;BR /&gt;
&lt;BR /&gt;
Any suggestion would be high appreciated.</description>
    <pubDate>Wed, 22 Sep 2010 19:16:42 GMT</pubDate>
    <dc:creator>kwu</dc:creator>
    <dc:date>2010-09-22T19:16:42Z</dc:date>
    <item>
      <title>about length of a numeric varaible in dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-length-of-a-numeric-varaible-in-dataset/m-p/74042#M15980</link>
      <description>when I define a numeric variable (or attrib) in a dataset,and try to insert a value greater than 2500k, it starts having the round off error, SAS does not complian the overflow (no warning or error) but just insert it with round off error.&lt;BR /&gt;
I am trying to understand how sas stores the numeric value with different length and how to calculate the safe data range for a specified length? which doc? &lt;BR /&gt;
&lt;BR /&gt;
I checked in the help and find that I can add a check constraint. I wonder how much overhead it is when adding this type of constrain to a table? Would it be more efficient by checking the cloumn in the code before inserting the data into the dataset ? &lt;BR /&gt;
&lt;BR /&gt;
Any suggestion would be high appreciated.</description>
      <pubDate>Wed, 22 Sep 2010 19:16:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-length-of-a-numeric-varaible-in-dataset/m-p/74042#M15980</guid>
      <dc:creator>kwu</dc:creator>
      <dc:date>2010-09-22T19:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: about length of a numeric varaible in dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/about-length-of-a-numeric-varaible-in-dataset/m-p/74043#M15981</link>
      <description>See this sas-l posting and the link in it.&lt;BR /&gt;
&lt;A href="http://tinyurl.com/2c8939j" target="_blank"&gt;http://tinyurl.com/2c8939j&lt;/A&gt; or&lt;BR /&gt;
&lt;A href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind1009C&amp;amp;L=sas-l&amp;amp;D=1&amp;amp;H=0&amp;amp;O=D&amp;amp;T=1&amp;amp;m=291216&amp;amp;P=11759" target="_blank"&gt;http://www.listserv.uga.edu/cgi-bin/wa?A2=ind1009C&amp;amp;L=sas-l&amp;amp;D=1&amp;amp;H=0&amp;amp;O=D&amp;amp;T=1&amp;amp;m=291216&amp;amp;P=11759&lt;/A&gt;</description>
      <pubDate>Wed, 22 Sep 2010 20:28:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/about-length-of-a-numeric-varaible-in-dataset/m-p/74043#M15981</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2010-09-22T20:28:32Z</dc:date>
    </item>
  </channel>
</rss>

