October 2013
Beginner to intermediate
270 pages
5h 41m
English
Another useful Talend feature is the ability to capture information about a file for use within downstream processing, most probably to perform validation prior to processing.
Open the jo_cook_ch08_0110_fileInformation job.
The steps for capturing file information are as follows:
tFileProperties component from the right-hand panel. Open tFileProperties, and set the file name to context.cookbookData+"/chapter8/chapter08_jo_0110_customerData.txt".tFlowToIterate to the canvas, and link the row from tFileProperties to it. Name the flow properties.tFileRowCount to the canvas and set the filename to match the tFileProperties component.onSubjobOk from tFileProperties to tFileRowCount, ...Read now
Unlock full access