Databases Reference
In-Depth Information
10. Set the Archive file field to be the name of the archive file that will be created
by the process. We'll set this to C:/Talend/Workspace/GETTINGSTARTED/
DataOut/Chapter7/order-lines.zip .
11. We can specify that only certain files are archived by unchecking the All
Files checkbox and setting appropriate file mask parameters, but we will
leave the All Files checkbox ticked for now. The configuration settings for
the archive component are shown in the following screenshot:
12. Your job will now look like the following screenshot:
13. So, we now have two subjobs; the first extracts the data from the database
and writes it to a delimited file, and the second zips the delimited file. We
now need to connect these two subjobs in a logical way so that the desired
results are achieved. In this case, we want the database extract to happen
first, followed by the file-zipping task.
14. Right-click on the order_lines component, select Trigger | On Subjob OK ,
and drop the connector onto the tFileArchive component.
 
Search WWH ::




Custom Search