Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 02 May 2003 @ 20:28:18 GMT





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




Subj:   Re: Multiload Input Field question
 
From:   Tressler, Dara C.



Nick

You might try the following

First split the incoming field into three pieces like so

        .FIELD IN_PIECE_pt1  * CHAR(05)
        .FILLER              * CHAR(01)
        .FILLER IN_PIECE_pt2 * CHAR(06)

Then in the insert specify a concatenation of the fields

        :IN_PIECE_pt1 || :IN_PIECE_pt2

OR you could just do a substring of the input value (I called it IN_VALUE)

        substr(:IN_VALUE, 1,5) || substring(:IN_VALUE, 7, 6)

Dara





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008