Rejects from Modify

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
kishorenvkb
Participant
Posts: 54
Joined: Mon Dec 24, 2007 9:27 am

Rejects from Modify

Post by kishorenvkb »

Hello All,

Are rejects possibile using the Modify stage? I am planning to convert the columns from string to integer using the modify stage and I wanted all the rows that fail to convert go into a reject file.

Please assist

Kishore
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I don't believe so. Check upstream using the IsValid function and reject them before the Modify.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kishorenvkb
Participant
Posts: 54
Joined: Mon Dec 24, 2007 9:27 am

Post by kishorenvkb »

Thanks Chulett.

You are suggesting to use the IsValid function in the Transformer, right? I was trying to avoid transformer for the performance reasons.

or the Transformer isn't that bad for this functionality? I am expecting about 500 million records as input.

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, in a transformer. And there's no reason to avoid the transformer for "performance reasons", those days are long ago.
-craig

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