You will need to strip out the extra CR/LF. There should be a CR between the segments. With the the CR/LF there, it is seeing each segment as a new message. The TID, I assume, stands for “Translation ID”.
On your read TPS you need to read in each line and check the first 3 chars. For each MSH create a new record and concatenate each line until you get to another MSH and then CONTINUE your concatenated record to the engine. You can add in your CR character etc on each concat.
Hope this helps.
Regards
Garry
Author
Replies
Viewing 1 reply thread
The forum ‘Cloverleaf’ is closed to new topics and replies.