<?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 Error while loading data into ORACLE form SAS DI in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429094#M13237</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing problem while loading data into Oracle database using SCD Type 2 in SAS DI.&lt;/P&gt;&lt;P&gt;But I got error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Variable ***** has different lengths on BASE&amp;nbsp; and DATA files ( Base 512 DATA 128)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I searched on past error but I cant solve this error also I tried Force option and used some options.&lt;/P&gt;&lt;P&gt;But dint get any solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has solution for this then please Help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2018 12:24:31 GMT</pubDate>
    <dc:creator>india2016</dc:creator>
    <dc:date>2018-01-19T12:24:31Z</dc:date>
    <item>
      <title>Error while loading data into ORACLE form SAS DI</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429094#M13237</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing problem while loading data into Oracle database using SCD Type 2 in SAS DI.&lt;/P&gt;&lt;P&gt;But I got error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Variable ***** has different lengths on BASE&amp;nbsp; and DATA files ( Base 512 DATA 128)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I searched on past error but I cant solve this error also I tried Force option and used some options.&lt;/P&gt;&lt;P&gt;But dint get any solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has solution for this then please Help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429094#M13237</guid>
      <dc:creator>india2016</dc:creator>
      <dc:date>2018-01-19T12:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data into ORACLE form SAS DI</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429095#M13238</link>
      <description>&lt;P&gt;Specify the correct length of 512 for this variable in your newly created dataset (which is appended to the existing table, as this is a WARNING from PROC APPEND).&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429095#M13238</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-19T12:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error while loading data into ORACLE form SAS DI</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429115#M13239</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/123179"&gt;@india2016&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;That the length difference between the variable in the base and the data table is exactly of factor 4 makes me think that you might have a problem with "byte semantics".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below 4 libname options - defined as part of the libname metadata definition - are what was required in an actual project to make it work. What's right for you depends on your environment but below should give you a good start.&lt;/P&gt;
&lt;PRE&gt;DBCLIENT_MAX_BYTES=1 
ADJUST_BYTE_SEMANTIC_COLUMN_LENGTHS=NO 
ADJUST_NCHAR_COLUMN_LENGTHS=NO 
DBSERVER_MAX_BYTES=1 &lt;/PRE&gt;
&lt;P&gt;Another option worth considering:&lt;/P&gt;
&lt;PRE&gt;UTILCONN_TRANSIENT=YES&lt;/PRE&gt;
&lt;P&gt;And if you're using bulk loading then it's also worth to explicitly define some of the bulk load options,&amp;nbsp;especially BL_DEFAULT_DIR&lt;/P&gt;
&lt;PRE&gt;BL_DEFAULT_DIR='/data/saswork/BulkloadTemp/'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 13:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Error-while-loading-data-into-ORACLE-form-SAS-DI/m-p/429115#M13239</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-01-19T13:55:32Z</dc:date>
    </item>
  </channel>
</rss>

