We have a source system that can send an OBX up to 80 characters but the receiving system can only take OBX segments up to 76 characters. I have written a code which counts the length of OBX’s and create a new OBX if the size if over 76 chracters without breaking the word.
The issue is to run last two months of messages through my new code. I do not have the smat files in the engine anymore. The source system can only provide me with txt file of messages (each day) which contains 0d after each segment and message. The source system cannot give me a 0D 0A after a message.
Is there a way to read the file in cloverleaf and write a proc which looks for MSH and insert 0A.
Thanks in advance.