Capture Bad records

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
raghu.chandra
Participant
Posts: 13
Joined: Sun Nov 19, 2006 8:40 am
Location: Mumbai

Capture Bad records

Post 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
Raghuraj Singh Chandra,Software Engineer
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply