Abnormal termination

If a task terminates abnormally with an internal error, the return code 16 and an error message are passed back to the calling program.

Diagnostic information is written to the execution log if one is being produced or to the system transient data queue CSML if there is no execution log. Diagnostic information for a task can be identified by the task ID that occupies the first eight bytes of each line of output. All temporary files in workspace are deleted before the task ends.