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.


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)


  <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: 27 Dec 2016