You could do this in the Xlate using SUPPRESS and CONTINUE then no Tcl would be needed.
If you just have to use Tcl then you will need to do a msgcopy to create a new copy of the message to get your second copy.
The your displist would have the handles of both copies. Copying is generally better that msgcreate I think because you won’t need to set all the Metadata you will just use what was in the original message as most of the time that is what you want.
Again – much easier in my opinion done in an Xlate.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
Thanks for your suggestion.I have no issues using xlate.Though i create a copy of message or new handle , once i return a message it passes on to the next thread and control never returns back to send the remaininig messages.So effectively i can send only one messages out of my proc.I donot want to append all the messages to the dispList and send them at once rather send individual messages as mentioned in last mail.
Any inputs highly appreciated 🙂
Author
Replies
Viewing 1 reply thread
The forum ‘Cloverleaf’ is closed to new topics and replies.