In MSH-10 there is a message ID, I need each of the 5 messages to have a unique message ID. And subsequently that number needs to be unique from every other message in the file.
What I’m attempting to do is store MSH-10 as @msgid before the iterate, then copy MSH-10 back into the messages after the iterate command. I assume there is something I can write into the pre-proc area of the second copy to increment the message ID number, but I am not well versed enough in TCL to know what to do.
Any help would be great, thanks