<?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: ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754810#M25120</link>
    <description>Thanks very much . That resolved my problem. &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;Inp</description>
    <pubDate>Sun, 18 Jul 2021 01:42:55 GMT</pubDate>
    <dc:creator>Inp</dc:creator>
    <dc:date>2021-07-18T01:42:55Z</dc:date>
    <item>
      <title>ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754744#M25116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to loading 17 digits length number from sas table to ODS TAGSETS.EXCELXP ( using SAS94) . but it is messing up the last 3 digits of the number. Can any one please let me know the solution to my problem.&amp;nbsp; Here is my sample coding .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA TEMP1;&lt;BR /&gt;X = 12345678901234567;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FILENAME TEMP 'C:\TMP\TEST.XLS';&lt;/P&gt;
&lt;P&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;ODS TAGSETS.EXCELXP FILE=TEMP STYLE=STYLES.HTMLBLUE RS=NONE;&lt;BR /&gt;ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME="MATCH"&lt;/P&gt;
&lt;P&gt;EMBEDDED_TITLES='YES'&lt;BR /&gt;AUTOFILTER='ALL' AUTOFIT_HEIGHT='YES' MINIMIZE_STYLE='YES'&lt;BR /&gt;ABSOLUTE_COLUMN_WIDTH='30'&lt;BR /&gt;ORIENTATION='LANDSCAPE' SCALE='75');&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;TITLE 'TESTING AS OF MAY2021';&lt;/P&gt;
&lt;P&gt;PROC REPORT DATA=TEMP1 NOWD SPLIT='*' ;&lt;BR /&gt;COLUMN X;&lt;BR /&gt;DEFINE X / 'ACCOUNT'&amp;nbsp;&lt;BR /&gt;style={tagattr='format:00000000000000000'};&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 13:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754744#M25116</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2021-07-17T13:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754784#M25117</link>
      <description>&lt;P&gt;You run into the limits of numeric precision caused by the finite amount of binary digits used to store decimal numbers. Because of this, SAS (and any software that uses 64 bits to store numbers in floating point format) can "only" handle up to 15 (and for some numbers, 16) decimal digits without loss of precision.&lt;/P&gt;
&lt;P&gt;For the field of statistics, this poses no problem.&lt;/P&gt;
&lt;P&gt;If that "number" is in fact some kind of code, store it as character.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 16:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754784#M25117</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-17T16:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754791#M25118</link>
      <description>&lt;P&gt;Thanks very much for your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even I changed this X value to&amp;nbsp; y as charactor&amp;nbsp; , but it doesn't shows as charactor and truncate as numeric value. Is there any way to change this y to charactor where I can load to&amp;nbsp;&amp;nbsp;ODS TAGSETS.EXCELXP. Should I have to put any style where it can change as Charactor? . ? If any ,can you please tell how?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA TEMP1;&lt;BR /&gt;length y $16;&lt;/P&gt;
&lt;P&gt;X = 12345678901234567;&lt;/P&gt;
&lt;P&gt;y=put(x,z16.);&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FILENAME TEMP 'C:\TMP\TEST.XLS';&lt;/P&gt;
&lt;P&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;ODS TAGSETS.EXCELXP FILE=TEMP STYLE=STYLES.HTMLBLUE RS=NONE;&lt;BR /&gt;ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME="MATCH"&lt;/P&gt;
&lt;P&gt;EMBEDDED_TITLES='YES'&lt;BR /&gt;AUTOFILTER='ALL' AUTOFIT_HEIGHT='YES' MINIMIZE_STYLE='YES'&lt;BR /&gt;ABSOLUTE_COLUMN_WIDTH='30'&lt;BR /&gt;ORIENTATION='LANDSCAPE' SCALE='75');&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;TITLE 'TESTING AS OF MAY2021';&lt;/P&gt;
&lt;P&gt;PROC REPORT DATA=TEMP1 NOWD SPLIT='*' ;&lt;BR /&gt;COLUMN y;&lt;BR /&gt;DEFINE y / 'ACCOUNT' format=$16.;&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;ODS LISTING;`&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 17:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754791#M25118</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2021-07-17T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754796#M25119</link>
      <description>&lt;P&gt;The loss of precision happens here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;X = 12345678901234567;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Anytime you cram such a number into a SAS variable, it happens.&lt;/P&gt;
&lt;P&gt;Store it as a string in the first place:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;X = "12345678901234567";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Jul 2021 18:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754796#M25119</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-17T18:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754810#M25120</link>
      <description>Thanks very much . That resolved my problem. &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;Inp</description>
      <pubDate>Sun, 18 Jul 2021 01:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754810#M25120</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2021-07-18T01:42:55Z</dc:date>
    </item>
  </channel>
</rss>

