<?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: error when copying teradata in SAS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390424#M11807</link>
    <description>&lt;P&gt;do you have any character column with value of '' which is allowed in SAS but not allowed in Teradata&amp;nbsp;after Teradata 14&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2017 20:54:13 GMT</pubDate>
    <dc:creator>kiranv_</dc:creator>
    <dc:date>2017-08-23T20:54:13Z</dc:date>
    <item>
      <title>error when copying teradata in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390423#M11806</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm copying one table from Teradata to the same location and I get the error below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;LIBNAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;TD &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;TERADATA&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;SERVER&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=*** &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DATABASE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=***&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; TD.test1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; TD.log;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Error attempting to CREATE a DBMS table. ERROR: Teradata execute: Length 0 is not allowed for a CHAR, VARCHAR, BYTE, VARBYTE&lt;/P&gt;&lt;P&gt;column..&lt;/P&gt;&lt;P&gt;ERROR: ROLLBACK issued due to errors for data set TD.TEST1.DATA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the possible reason for this? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 20:47:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390423#M11806</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-08-23T20:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: error when copying teradata in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390424#M11807</link>
      <description>&lt;P&gt;do you have any character column with value of '' which is allowed in SAS but not allowed in Teradata&amp;nbsp;after Teradata 14&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 20:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390424#M11807</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-08-23T20:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: error when copying teradata in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390451#M11814</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124089"&gt;@Jade_SAS&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Additionally to what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37783"&gt;@kiranv_&lt;/a&gt;&amp;nbsp;wrote: Don't use a SAS data step to replicate a DBMS table. Using a SAS data step will most likely result in SAS first pulling all the data from the DB into SAS and then creating the new table and re-loading the data back to the DBMS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best use PROC SQL or eventually PROC APPEND.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it would be me then I'd use explicit pass-through SQL for such operations.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 23:05:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/error-when-copying-teradata-in-SAS/m-p/390451#M11814</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-08-23T23:05:03Z</dc:date>
    </item>
  </channel>
</rss>

