Lookup Stage - Rejection List

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Raftsman
Premium Member
Premium Member
Posts: 335
Joined: Thu May 26, 2005 8:56 am
Location: Ottawa, Canada

Lookup Stage - Rejection List

Post by Raftsman »

I am passing rejects to a sequential file stage. Is there a way to setup the Null handling for Null fields. Unlike the non-rejects, where I can apply Null handling, rejects do not write to the file and I can't seem to apply Null handing to the fields.

Thanks
Jim Stewart
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

You can pass your stream through either a modify stage and use handle_null() or use IsNull() in transformer.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
prasadduvasi
Participant
Posts: 19
Joined: Wed Feb 15, 2006 11:08 am

Post by prasadduvasi »

You can use copy stage before the sequential file stage then you can handle nulls for the rejected records in the sequential file.
Prasad Duvasi
Post Reply