reject rows

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
DSkkk
Charter Member
Charter Member
Posts: 70
Joined: Fri Nov 05, 2004 1:10 pm

reject rows

Post by DSkkk »

hi All,
i got to do a look up on a file using the same file as i have to concatenate data becos it got split. so i have to reject data which has duplicate key columns data. how and what constraint should i use. kindly suggest.
thanks
g.kiran
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Read the sequential file as source and lookup the key values into an empty hash-file - key being same as your seq file and additional col which is to hold the concatenated values.

Concatenate the 'split description'

Write the result into the same hash-file.

Disable the 'preload to memory' option.

By this way, each record will insert / update and form a full record of concatenated values.

There is no need for any constraint.
Post Reply