This recipe follows on from the previous recipe, but shows how the information in the header can be added to the detail data, and the data in the trailer used for validation, as is typically the case with files of this type.
jo_cook_ch08_0080_useHeaderAndTrailerInfo job. This job is the completed job from the previous recipe; however, do note that the
tLogRow components have now been replaced with
tHashOutput components. Also, note that three
tHashInput components have also been added and configured.
We will be performing two main tasks; the first is to use the trailer information to validate the file, and then take a column from the header to use in all the output ...