how to get rejects in oracle stage

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
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

how to get rejects in oracle stage

Post by Edwink »

Friends,
i m loading records into oracle through oci stage..
few records got rejected due to some constraints..
whether there is any way to collect the reject in a file?
transformer is the stage, before oci stage...
thanks
ds_developer
Premium Member
Premium Member
Posts: 224
Joined: Tue Sep 24, 2002 7:32 am
Location: Denver, CO USA

Post by ds_developer »

Add a sequential stage and then a link from the Oracle stage to the sequential stage. In the Oracle stage, on the Properties tab, go to Options and set Output Reject Records = True.

John
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

in Oracle stage i cant find the options? :(
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Reject mode will only work if its Upsert and will not work for Load. That too in the enterprise stage. Not the OCI stage.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply