<?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: Load &amp;amp; unload data in cas in SAS Viya in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936127#M367992</link>
    <description>&lt;P&gt;If the target does not support the data type, you need to modify the source data.&lt;/P&gt;
&lt;P&gt;Either a temporary solution that preserves the current data: create a view and upload it if that's supported,&lt;/P&gt;
&lt;P&gt;or a permanent solution: round the values in the source table.&lt;/P&gt;
&lt;P&gt;You might be able to compute a new variable on the fly, I've never tried that (options COMPPGM and COMPVARS, see &lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/8.1/casref/n0xw19f4n7n9zfn1bkn33vza74sh.htm" target="_self"&gt;here&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 10:46:08 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2024-07-18T10:46:08Z</dc:date>
    <item>
      <title>Load &amp; unload data in cas in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/935993#M367943</link>
      <description>&lt;P&gt;Hello team,&lt;BR /&gt;&lt;BR /&gt;I am using below code to unload and load data in cas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cas casauto sessopts=(caslib="test123");&lt;/P&gt;
&lt;P&gt;caslib mycaslib datasource=(srctype='sqlserver' user='xxxxxxx' password='xxxxxxxx' sqlserver_dsn="xxxxxxx"&lt;BR /&gt;schema=dbo catalog=*);&lt;/P&gt;
&lt;P&gt;PROC CASUTIL;&lt;BR /&gt;droptable CASDATA="Event_calltype_analysis_rpt" &lt;BR /&gt;INCASLIB="test123";&lt;BR /&gt;QUIT;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;caslib _all_ assign; &lt;BR /&gt;proc casutil;&lt;BR /&gt;load casdata="Event_calltype_analysis_rpt" incaslib="mycaslib" outcaslib="test123" casout="Event_calltype_analysis_rpt" promote;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;However, I am getting below warning&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogNote13_1721194277861" class="sasNote"&gt;NOTE: Performing serial LoadTable action using SAS Data Connector to SQL Server.&lt;/DIV&gt;
&lt;DIV id="sasLogWarning1_1721194277861" class="sasWarning"&gt;WARNING: WARNING: [SAS][ODBC SQL Server Wire Protocol driver]Fractional truncation. Error in column 37.&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;Warning count is too much&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SatishR_1-1721195219826.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98448iEBAAD367568BD8D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SatishR_1-1721195219826.png" alt="SatishR_1-1721195219826.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;Column 37 is&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SatishR_0-1721195174794.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98447i791402AA98D8E7AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SatishR_0-1721195174794.png" alt="SatishR_0-1721195174794.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to resolve this issue. Thanks in advance&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 05:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/935993#M367943</guid>
      <dc:creator>SatishR</dc:creator>
      <dc:date>2024-07-17T05:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; unload data in cas in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936003#M367948</link>
      <description>This typically happens because the data type does not support time fractions (milliseconds). &lt;BR /&gt;A workaround is to round the value to the nearest second. &lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2024 08:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936003#M367948</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2024-07-17T08:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; unload data in cas in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936027#M367961</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp; any solution to trunctate this fraction in Load statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 12:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936027#M367961</guid>
      <dc:creator>SatishR</dc:creator>
      <dc:date>2024-07-17T12:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Load &amp; unload data in cas in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936127#M367992</link>
      <description>&lt;P&gt;If the target does not support the data type, you need to modify the source data.&lt;/P&gt;
&lt;P&gt;Either a temporary solution that preserves the current data: create a view and upload it if that's supported,&lt;/P&gt;
&lt;P&gt;or a permanent solution: round the values in the source table.&lt;/P&gt;
&lt;P&gt;You might be able to compute a new variable on the fly, I've never tried that (options COMPPGM and COMPVARS, see &lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/8.1/casref/n0xw19f4n7n9zfn1bkn33vza74sh.htm" target="_self"&gt;here&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 10:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-amp-unload-data-in-cas-in-SAS-Viya/m-p/936127#M367992</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2024-07-18T10:46:08Z</dc:date>
    </item>
  </channel>
</rss>

