Page 1 of 1
Process in chore fail to find source data file
Posted: Tue Aug 09, 2011 8:20 am
by vladkon
Just want to check if anyone knows what happens when one process in chore can not find it's source data file. Does chore continue to run other processes or does it fail?
Re: Process in chore fail to find source data file
Posted: Tue Aug 09, 2011 9:59 am
by Alan Kirk
vladkon wrote:Just want to check if anyone knows what happens when one process in chore can not find it's source data file. Does chore continue to run other processes or does it fail?
The process fails; the chore does not. It's for this reason that I use a "Continue Execution" flag in a control cube for all of my chores. The first process sets the flag to N at the start of the Prolog. If it succeeds, it sets the flag to Y at the end of the epilog. Each subsequent process checks the flag. If it's N, the process quits. Otherwise, it sets the flag to N and again only sets it to Y at the end of the epilog. That ensures that if a process crashes out, the subsequent ones won't be executed.
Re: Process in chore fail to find source data file
Posted: Tue Aug 09, 2011 10:46 am
by vladkon
Thanks a lot for such a complete answer.