I've got a program that outputs to two reports, a summary and a detail. Both printfiles are using the keyword usropn. I open the files at the begining of the program and I close them at the end. The files close after the totals are printed, the totals are only printed when LR is turned on. LR is only on if it's the last record. How then can I be getting an I/O error after the totals were printed? There shouldn't be anything left to write to the files.
Any help would be appriciated, I've been working on this for days.
I can include samples of my code if needed.
November 3, 2009 2:07 PM
November 3, 2009 5:46 PM