This example shows how to write a Job script to define a Job that will validate email addresses. The Job will first find out duplicate email addresses, then validate the deduplicated email addresses, and display the deduplication and validation results on the console.
The Job will contain the following components:
a tFileInputDelimited component, to read the source file that contain valid, invalid, and duplicate email addresses, as shown below.
email@example.com rmartin.company.com sgoodman@companycom firstname.lastname@example.org jjohnson@company com email@example.com jjohnson@company com sgoodman@companycom
a tUniqRow component, to identify duplicate addresses.
two tJavaRow components, to validate the deduplicated addresses and output the deduplication and validation results.
a tLibraryLoad component, to load the Java library required to execute the Java code for email address validation.