Before you begin
A table analysis with an SQL business rule has been created and executed. For further information, see Creating a table analysis with a simple SQL business rule.
- Follow the steps outlined in Creating a table analysis with a simple SQL business rule to create a table analysis with an SQL business rule.
- Execute the table analysis.
In the Analysis Results view, click Business
Rule Indicator under the name of the analyzed column.
The generated graphic for the business rule is displayed accompanied with a table that details the matching results.
Right-click the rule line in the result table and select Generate
The Job Selector dialog box is displayed.
Option To... generate an ELT job to get only valid rows generate a Job that uses the Extract Load Transform process to write the valid rows of the analyzed table in an output file generate an ELT job to get only invalid rows generate a Job that uses the Extract Load Transform process to write the invalid rows of the analyzed table in an output fileIn this example, select the generate an ETL job to get only invalid rows option. The generated Job will output all the invalid rows in the table. The invalid rows are those that do not match the business rule used in the analysis (customers younger than 18).
In the dialog box, click Finish.
The Integration perspective opens on the generated Job.
The properties of the first component in the Job are predefined according to the database connection used by the table analysis.
- If required, use a different output component and define its properties to recuperate the invalid rows in different type of file or in a database for example.
- Save your Job and press F6 to execute it.
All rows of customers who are younger than 18 are written in the defined output file.