I don't believe there is a way to do this, but I thought I'd run it by all you gurus anyway.
I have a really strange problem where the program is writing 3 records to a control file, one right after the other with type codes I, T, and G. The key to the control file is vendor, PO# and backorder#, so these records should stay in the order written. Well, occassionally for no reason that I can deduce, they get out of order.
I was wondering if there is anyway in the file definition that I can say that they have to be in I, T, and G order? If not, can anyone think of any way these could randomly get switched.
What's weird is that we reran the same PO thru again with the same results. It just makes no sense. A way of ordering the record types would be the ideal solution.