Mark,
If you have not done so, turn the EO all the way up.
Then look at the message before the PDL and again in the PDL. This should help you find out where the extra carriage returns are being inserted. If the PDL dump in the EO does not show the extra cariage returns, then it is happening post engine.
My first of the usual suspects would be any Tcl procs you have involved in the process of generating the message(s).
If the EO indicates a specific place where the message goes sour, remove any Tcl procs involved at that point and see if the problem dissipates. If it does, fix the Tcl proc.
Jim Kosloskey
email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.