Archives of the TeradataForum
Message Posted: Tue, 22 Mar 2005 @ 19:54:42 GMT
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
|