<?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 Double data in ODBC data source became currency after reading into SAS by libname odbc. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Double-data-in-ODBC-data-source-became-currency-after-reading/m-p/498754#M15526</link>
    <description>&lt;P&gt;I have a data source whose driver is MariaDB. And the columns are double. But after connecting using libname odbc, they becomes dollar.2 format.&lt;/P&gt;&lt;P&gt;Data in data source:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-09-25_22-26-44.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23506iEEEE4D18C0751B9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-09-25_22-26-44.jpg" alt="2018-09-25_22-26-44.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Compare:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-09-25_22-41-41.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23508i205110A492C5A412/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-09-25_22-41-41.jpg" alt="2018-09-25_22-41-41.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I tried to append an SAS dataset into the data source. SAS told me that data types are different:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: Variable code has format 'DOLLAR.'n on the BASE data set and format 'BEST12.'n on the DATA data set. 'DOLLAR.'n used.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here base data is the data source. And an error also occurred because one of my column has large values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLI execute error: [ma-3.0.3][10.3.9-MariaDB]Out of range value for column 'TCAP' at row 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Sep 2018 15:03:25 GMT</pubDate>
    <dc:creator>kilasue</dc:creator>
    <dc:date>2018-09-25T15:03:25Z</dc:date>
    <item>
      <title>Double data in ODBC data source became currency after reading into SAS by libname odbc.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Double-data-in-ODBC-data-source-became-currency-after-reading/m-p/498754#M15526</link>
      <description>&lt;P&gt;I have a data source whose driver is MariaDB. And the columns are double. But after connecting using libname odbc, they becomes dollar.2 format.&lt;/P&gt;&lt;P&gt;Data in data source:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-09-25_22-26-44.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23506iEEEE4D18C0751B9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-09-25_22-26-44.jpg" alt="2018-09-25_22-26-44.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Compare:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-09-25_22-41-41.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23508i205110A492C5A412/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-09-25_22-41-41.jpg" alt="2018-09-25_22-41-41.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I tried to append an SAS dataset into the data source. SAS told me that data types are different:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: Variable code has format 'DOLLAR.'n on the BASE data set and format 'BEST12.'n on the DATA data set. 'DOLLAR.'n used.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here base data is the data source. And an error also occurred because one of my column has large values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLI execute error: [ma-3.0.3][10.3.9-MariaDB]Out of range value for column 'TCAP' at row 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 15:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Double-data-in-ODBC-data-source-became-currency-after-reading/m-p/498754#M15526</guid>
      <dc:creator>kilasue</dc:creator>
      <dc:date>2018-09-25T15:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Double data in ODBC data source became currency after reading into SAS by libname odbc.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Double-data-in-ODBC-data-source-became-currency-after-reading/m-p/506181#M15705</link>
      <description>&lt;P&gt;Have you made any progress on this? The DBTYPE option might be worth trying:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1dqaq7ub1cm1pn1ow3x9qkmkxe8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p1dqaq7ub1cm1pn1ow3x9qkmkxe8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 22:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Double-data-in-ODBC-data-source-became-currency-after-reading/m-p/506181#M15705</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-10-19T22:17:47Z</dc:date>
    </item>
  </channel>
</rss>

