We have moved to www.dataGenX.net, Keep Learning with us.
Showing posts with label sqlcode. Show all posts
Showing posts with label sqlcode. Show all posts

Thursday, February 13, 2014

DataStage Parallel job: Retrieve sql codes on a failed upsert


When an enterprise database stage such as DB2 or Oracle is set to upsert it is possible to create a reject link to trap rows that fail any update or insert statements. By default this reject link holds just the columns written to the stage, they do not show any columns indicating why the row was rejected and often no warnings or error messages appear in the job log.