I agree with James. The engine should never loose a message unless something is going on with ACK’s as Jim mentioned. But if you’re going to do this you may want to simply just capture the Message Control ID from the MSH-10 and then diff the files. That should be good enough to tell you if you have a 1:1 match.