Problems with Text IO

We are facing some problems while using the TEXT_IO package to display the
contents of the report (D2K 6i) to a file in our server. We are getting some
lines repeated at particular intervals in the output file. I will be
grateful, if anyone provides suggestions about the same.