What we’re trying to do is route specific DFT messages from one thread and send them another thread that feeds an application running elsewhere. The application extracts the account number then queries the hospital system for demographics, builds an A28 message, then sends the completed A28 and the DFT back to a different thread on the engine and out of our network. The remote receiving system chokes on the extra carriage returns.
I looked at the constructed message just prior to being sent and all it has is one carriage return on the last line. The program adds x0b at the beginning and x1cx0d at the end and off it goes. The same thing for the DFT. Both messages leave the engine with extra carriage returns. The only other processing to occur is a tcl proc to make some changes to the MSH segment.
The engine is running 5.3.1 on Windows 2003.
Any ideas would be appreciated.