Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 22 Mar 2005 @ 19:54:42 GMT


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


Subj:   Re: Fload problem: a discrepency between read and expected
 
From:   Prescott, Kyle R

If your FLOAD set record is unformatted, and the data is text format (with record terminators), you need to account for the record terminators - CRLF (carriage return and line feed: chr(13) + chr(10) in Windows) or LF (Line feed: chr(10) in UNIX).

You may want to SET RECORD TEXT. Or conversely ADD 1-2 bytes of filler on the end of your layout depending on the data platform:

     set record unformatted;

     DEFINE

      Num  (char(3)),
      Name  (char(6)),
      CRLF (char(2))

Or.....

     set record TEXT;

     DEFINE

      Num  (char(3)),
      Name  (char(6)),

Kyle Prescott
UnumProvident, Data Strategies 3-S



     
  <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