October 2013
Beginner to intermediate
270 pages
5h 41m
English
As an alternative to collecting incorrect rows up to the point where a job fails (Die on error), you may wish to capture all rejects from an input before killing a job.
This has the advantage of enabling support personnel to identify all problems with source data in a single pass, rather than having to re-execute a job continually to find and fix a single error / set of errors at a time.
Open the job jo_cook_ch03_0010_validationSubjob. As you can see, the reject flow has been attached and the output is being sent to a temporary store (tHashMap).
tJava, tDie, tHashInput, and tFileOutputDelimited components.onSubjobOk to tJava from the tFileInputDelimited component. ...Read now
Unlock full access