Posted: Mon Aug 26, 2002 10:53 am Post subject: Looping msg flows on z/OS
Newbie
Joined: 13 Jul 2002 Posts: 7
A few times we have had bad experiences with a looping msg flows.
In cases where we made a programming error in a message flow causing an endless loop in our ESQL, we had no way to recover expect stopping the whole broker.
Once such an event happens, the broker seems to be so busy executing some esql, that it won't process anything else (new deploy, stop/start msgsflow).
Anyone experienced the same problem ? Or does anyone now an elegant way to deal with a situation like this ?
Once this happens you've effectively blocked a thread in the DataFlowEngine and there's no nice way of curing this. Rather than stopping the whole broker, you could try stopping the relevant execution group using "operations". Not sure if this will work or not.
Two things you could do to prevent this:
1. Test locally on NT first
2. Add a get out clause to loop conditions such that if they behave unexpectedly they'll still terminate.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum