skorc123
15th January 2009, 14:06
Hi all,

Can someone please tell me how this job error handling works?
In other words...
In the error handling section of a session ttaad5102s000 - Add session to job you can specify the action after the error (see attachement).
If I choose continue and skip one session if an error occours, what kind of error are we talking about?
Can I code a session something like this:
If x <> y then
exit session with an error, what kind of error, ...
else
continue
endif

and the job does not execute the second session and also stays active - doesnt go into runtime error state or stops.

I need to know this ASAP, so if anyone knows anything about this please help

Thank you and Best Regards, Zoran

dave_23
16th January 2009, 02:42
Action On Error: continue
means that the job will not abort and go into "fatal error" status when a session in that job reports a fatal error. It will execute the next session in the job (as defined by the # of session to skip parameter)

# of sessions to skip on error: Means that if a session fails with a fatal error to skip "n" sessions but continue the job.

# of sessions to skip on no error: is self explanatory based on the above i hope.

Dave

Hitesh Shah
21st January 2009, 19:28
May be conditional job sequencing through job.process.error (http://www.baanboard.com/baanboard/showthread.php?t=54824)