charlessxavier wrote:Hi all,
I m processing a flat file thru easytrieve,
My job is to add a particular field in the input file which has numerous lines and to print it in the first line
I am processing each line and using a counter to store the value and print the same in first line
But i have to reproduce the same input file below the first line.. how can i do it ?
Or in other words is there any way to append the whole file after processing the whole input file ?
Charles,
It might be me being dense, but I can't understand what you want.
You have an input file
You add a field
You want to print the field (and something else from the file, maybe)
Then, and this is fourth time through it, I just loose the explanation.
If you can expand on what you are trying to do, maybe even the business explanation, as I think you might be getting "approach" stuck in the way of solution, then I'm sure we can assist. Some sample of input, and required output(s).
Thanks.