Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 28 Sep 1999 @ 19:38:19 GMT


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


Subj:   Reported Translation error
 
From:   Stuart MacMillan

Does anyone have any suggestions about the following problem. This code has worked fine until upgrading to V2R3.

If the last concatenation of doublequotes or the (CHAR(02)) is removed it works fine otherwise I get

     *** Failure 6701 An unknown character string translation was requested.

It can't even be EXPLAIN'd

I can fix it but I'd rather know just what I'm fixing


Thanks

Stuart


     ** Code abstract

     INSERT INTO
     WORK_02
      (MARKETING_CODE
     ,PROMOTION_TEXT)
     SELECT
      DISTINCT
      MARKETING_CODE
     ,' ''CODE'
     || (INDEX('123456789A',PROMOTION_ID)  (FORMAT '99')  (CHAR(02)))
     || ''''

     FROM WORK_01
     ;

     ** Tables
     CREATE SET TABLE .WORK_01,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL
     (
     MARKETING_CODE CHAR(5) CHARACTER SET LATIN NOT CASESPECIFIC,
     PROMOTION_ID CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC)
     PRIMARY INDEX ( MARKETING_CODE );

     CREATE SET TABLE .WORK_02,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL
     (
     MARKETING_CODE CHAR(5) CHARACTER SET LATIN NOT CASESPECIFIC
     PROMOTION_TEXT CHAR(72) CHARACTER SET LATIN NOT CASESPECIFIC)
     PRIMARY INDEX ( MARKETING_CODE );


     
  <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