Flat Files

Hi,

I have a requirement to write the records to a flat file.I am able to do that .But how can i implement the code so that i can write the header(or the field definitions at the top) as well.

I mean… in the text document i need all the records along with the header at top.

Thanks in advance

What is the format of your flat file?

It’s all depends on the FF output format and for csv aspects, you may also need to create row looking like a value and embedded that header field name (hard coded) for each of the column that outputs…

HTH,
RMG