<?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: Exporting to Access - cutoff in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71725#M20719</link>
    <description>Hi:&lt;BR /&gt;
  99.99 is 5 total characters, including the decimal point. So the format for 99.99 would be 5.2 -- but 100.00 is 6 total characters, including the decimal point. So a format of 5.2 would be incorrect for the SAS format width to use for 100.00 percent. In the same fashion, the dollar amount: $12,345.67 would need at least a width of 10 and the "official" format specification would be: dollar10.2 -- you need 10 as the width because you have 7 numbers and 3 symbols: . , and $.&lt;BR /&gt;
&lt;BR /&gt;
The clue that you have a format width that's not "wide" enough is that you should see a note in the SAS Log that says something like:&lt;BR /&gt;
&lt;B&gt;&lt;BR /&gt;
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be&lt;BR /&gt;
      shifted by the "BEST" format.&lt;BR /&gt;
&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
The format would need to be even larger if you were using a PICTURE format to put a percent sign in the column. Complicating the whole picture is HOW you are exporting to Access (Microsoft Access???) Are you using PROC EXPORT or the LIBNAME engine???&lt;BR /&gt;
&lt;BR /&gt;
If you fix the format width and your number does not get carried over into Microsoft Access, then you may want to work with Tech Support on this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sat, 27 Mar 2010 04:00:08 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-03-27T04:00:08Z</dc:date>
    <item>
      <title>Exporting to Access - cutoff</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71724#M20718</link>
      <description>I'm trying to export into Access percentages. The percentages were created using proc tabulate (pctSum)&lt;BR /&gt;
&lt;BR /&gt;
The percentages are formatted using 5.2&lt;BR /&gt;
The Access table is showing all the numbers except the value 100.&lt;BR /&gt;
How can I fix the problem so SAS exports all the values that are 100 into Access?</description>
      <pubDate>Fri, 26 Mar 2010 22:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71724#M20718</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-26T22:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Access - cutoff</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71725#M20719</link>
      <description>Hi:&lt;BR /&gt;
  99.99 is 5 total characters, including the decimal point. So the format for 99.99 would be 5.2 -- but 100.00 is 6 total characters, including the decimal point. So a format of 5.2 would be incorrect for the SAS format width to use for 100.00 percent. In the same fashion, the dollar amount: $12,345.67 would need at least a width of 10 and the "official" format specification would be: dollar10.2 -- you need 10 as the width because you have 7 numbers and 3 symbols: . , and $.&lt;BR /&gt;
&lt;BR /&gt;
The clue that you have a format width that's not "wide" enough is that you should see a note in the SAS Log that says something like:&lt;BR /&gt;
&lt;B&gt;&lt;BR /&gt;
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be&lt;BR /&gt;
      shifted by the "BEST" format.&lt;BR /&gt;
&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
The format would need to be even larger if you were using a PICTURE format to put a percent sign in the column. Complicating the whole picture is HOW you are exporting to Access (Microsoft Access???) Are you using PROC EXPORT or the LIBNAME engine???&lt;BR /&gt;
&lt;BR /&gt;
If you fix the format width and your number does not get carried over into Microsoft Access, then you may want to work with Tech Support on this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 27 Mar 2010 04:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71725#M20719</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-27T04:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting to Access - cutoff</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71726#M20720</link>
      <description>Hi Cynthia:&lt;BR /&gt;
&lt;BR /&gt;
Changing the format to 6.2 solved the problem!!&lt;BR /&gt;
&lt;BR /&gt;
Thank you!</description>
      <pubDate>Mon, 29 Mar 2010 18:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Exporting-to-Access-cutoff/m-p/71726#M20720</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-29T18:07:26Z</dc:date>
    </item>
  </channel>
</rss>

