capture rejected records and reason forrejection

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
dodda
Premium Member
Premium Member
Posts: 244
Joined: Tue May 29, 2007 11:31 am

capture rejected records and reason forrejection

Post by dodda »

Hello

I have a requirement where i am inserting the data into a database(oracle) from Flat File. In my scenario i need to capture the rejects in a sequential File and the reason for rejection appended to the every row that is rejected in a rejected File.

appreciate if you can help me.

thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

When you put an output link from your target Oracle stage and enable rejects, the SQL error code is added automatically to the output link.
nagarjuna
Premium Member
Premium Member
Posts: 533
Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago

Post by nagarjuna »

Dodda ,

i assume that you are using upsert mode .So , put a reject link and automatically you can get sqlcode with that .
Nag
dodda
Premium Member
Premium Member
Posts: 244
Joined: Tue May 29, 2007 11:31 am

Post by dodda »

thanks for the replies..
Post Reply