I am trying to write an output file with the disposition of NEW,CATLG,CATLG. But my program aborts in midway due to some condition handled in the program. The last record being written into the file was missing in the output file.
Note:- Its writing all the other records except the last record. But one more thing, if we are closing the output file before abending, its writing all the records.