Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 11 Apr 2012 @ 12:41:51 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Error 6706
 
From:   David Clough

We struggled for quite some time with this, until we came across a Teradata UDF (cp2uni_axm.so) which 'cleans' the data for you ... at least it did for us.

     .
     .
     .
     begin loading CORPSW01

     ErrorFiles $ENV$UTIL_DB.CORPST01_ERR1,
                $ENV$UTIL_DB.CORPST01_ERR2;

     SET RECORD VARTEXT "";

     /* access module filters untranslatable uncode characters */
     /*  ErrorChar u+0023  --> #                               */
     /*            u+003F  --> ?                               */
     /*  Remove TRACE to reduce log-file clutter.              */

     axsmod ${err_check}/cp2uni_axm.so "CodePage=UTF8, ErrorChar=U+003F, EOR=0A,
     Format=FIXED";

     DEFINE
     CON_ID         (VARCHAR(255))
      PCE_NR         (VARCHAR(255))
     .
     .
     .

We generate our load scripts and this one additional simple line resolved our problem.


Regards

David Clough



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023