Hi Dave and Charlie
Thanks for your replies.
I think I know what you mean Charlie on the one to many scenario, Build up a disp list of messages and when i reach an eolt release the lot and if the thread is stopped it will start over.
Charlie one of the main problems I have is the many to many messages coming in.
e.g a set of messages come in and based on whats in them, the proc creates many messages and forwards them on.
e.g a set of 5 messages could create 10 messages with line numbers 1 to 10 indicating each msg number for receiving application.
Then when it reaches an eolt message or the start of new set of messages I initialize the counter back to zero. I could build up a another disp list and when i hit an eolt release them.
But will i not still lose my counter?
What are the built in counter commands? Will this solve the problem.
Thanks in advance Charlie