Below is a three-component Job created in Talend Studio.
generates random address information,
uses the tQASBatchAddressRow component to analyze the output columns and display the correct formatted address along with their verification status on the console,
Complete the following to design and execute the above scenario:
Drop the following components from the Palette onto the design workspace: tFixedFlowInput, tQASBatchAddressRow and tLogRow.
Connect the component together using Main links.
Double-click tFixedFlowInput to display its Basic settings view and define the component properties.
Click the [...] button next to Edit Schema to open a dialog box, and add one column: addr. Then click OK to close the dialog box.
In the Mode area, select the Use Inline Table option, add three lines in the table by clicking the [+] button, and define the data for the input column, three address rows in this example.
Double-click the tQASBatchAddressRow component to display its Basic settings and define the component properties.
Click the [...] button next to Edit schema, if required, to view the input and output data flow. The output schema should include the addr column.
The output schema of any of the QuickAddress components depends on the selected country in the Country list since every country has different address norms.
Click OK to close the dialog box.
Select from the Country list the country corresponding to your input addresses.
Select from the Choose the address column list the address column you want to analyze, addr in this example.
Click the [...] button next to the Specify the configuration file field and browse to the QAS configuration file installed locally.
Double-click the tLogRow component to display its Basic settings view and select Table in the Mode area to display the Job execution result in table cells.
Save your Job and press F6 to execute it and display the result on the console.
In the result shown above, tQASBatchAddressRow reads input rows, corrects and formats addresses, gives the result in the ADDRESS and ZIP_CODE_CITY columns, and gives the verification status in the STATUS row. For further information on the status column, check the corresponding documentation at http://www.qas.com.