target file
Moderators: chulett, rschirm, roy
I would split this into 2 steps, the first is creating your data file, and the second adds the header and trailer records. This is easy to do using UNIX commands - namely the cat command to concatenate data streams and the wc -l command to get your line count from the original data file. This one-liner UNIX code could be called as part of an after-job routine or from a sequence.
</a>