I am attempting to take an inbound message from a source system and copy most of the fields from it, and reconfigure a couple segments, and send am NA message back to the source (the original message still needs to get to the destination as well). The destination system doesn’t have the ability to generate an NA message back but the source system needs it in order to send a result back later on.
I started by capturing each segment and manually building a message using TCL but I was having an issue splitting the segments I needed correctly (I will keep trying). I also couldn’t figure out how to still deliver the original message and send another ORM back, route reply didn’t seem to work.
Is there a way to do this through an XLATE, or does anyone have suggestions or examples when using TCL to do this?
Please let me know if you have any suggestions. Thank you in advance.