ERRORSFATAL

Syntax: ERRORSFATAL TRUE or FALSE

Use this option to specify whether or not you want to terminate Span on the first error encountered, as described in the following table.

Value

Description

FALSE
NO

Default. Span continues processing when it encounters an error. If Span encounters a fatal error, however, it terminates immediately.

TRUE
YES

Span treats any error as a fatal error. In other words, Span reports the error message and then terminates processing immediately.

Note: Span sets its TASKVALUE to the last DBM error code. TASKVALUEs less than zero are errors or warnings defined by Span. By checking for the DBM error code in TASKVALUE in WFL/DATABRIDGE/SPAN, you can more easily determine the success or failure of a Span run.