October 2013
Beginner to intermediate
270 pages
5h 41m
English
This recipe details a method for creating a file with a header and trailer record, which makes use of file append.
Open the jo_cook_ch08_0090_createHeaderAndTrailer job.
The steps for adding a header and trailer to a file are as follows:
tFixedFlowInput_1 component.fileDate; TalendDate.getDate("CCYY-MM-DD").tFixedFlowInput_2 component.fileDate; ((Integer)globalMap.get("tFileInputDelimited_1_NB_LINE")).tFileOutputDelimited_1, and change the type to Append.tFileOutputDelimited_4, and change the type to Append.Read now
Unlock full access