Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Add Trailer Record with text and recordcount in SSIS

$
0
0

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


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>