Can someone please help me with an example to add a trailer record to the end of flat fixed width file.
I already have the Header and detail records in the flatfile.
The trailer records needs to include 3 fields and crlf.
Trailer Record example...
38499 ....."\r\n"
At pos1
3 - length 1
At pos2
Recordcount - length 6
At pos3
Filler of blanks - length 532
Thanks,
Rob