Page 1 of 1

Capture Bad records

Posted: Tue Jul 03, 2007 12:54 am
by raghu.chandra
Hi All,
We have a tab delimited file having more than 200 columns. some of the records are broken into 2 or 3 rows. we want to capture those bad rows or records. Either in Data stage or in Unix.
We can not use any other delimiter in the file.
Can any one suggest how we can implement this.

Thanks in advance,
Raghuraj

Posted: Tue Jul 03, 2007 7:10 am
by ray.wurlod
If you know in which fields the line terminator occurs, just mark those columns "contains line terminator" in the Columns grid. DataStage will do the rest.

Posted: Tue Jul 03, 2007 7:13 am
by chulett
Which will allow you to read them and thus they will no longer be 'bad'. You can still check the field for terminators after the fact and logically reject them if you like.