Responding to Error Conditions in WFL

Use the ON TASKFAULT statement to specify actions to be taken if a task terminates abnormally or if a compilation is terminated for syntax errors. WFL can also interrogate the values of the STATUS and HISTORYTYPE task attributes after a task terminates to determine the type of termination and take appropriate action.