Error handling

At the start and end of each SDF task, the Sequential Data Facility issues informational event messages. If an SDF task fails, it issues error event messages that help to identify and correct the error.

The SDF task start date and time, which is shown in event message DNQB0001I, is the SDF task identifier, and is used to correlate other events to the same task. If an SDF task is restarted, it uses the task identifier of the original task, that is, the task that failed previously.

An SDF task that did not finish successfully (that is, that produced a return code other than 0) can be restarted after the corresponding error was corrected:
For an import task
Restart the import task with the same input file, target and control queue. The restarted SDF import task resumes processing after the last committed operation of the task that encountered the error.
For an export task
Restart the SDF export task with the same source queue and output file. Depending on the point of failure, the restarted task resumes processing after the last committed operation of the previous (failed) task. The data in the SDF output media of the restarted export task must not be modified before the SDF export task completes successfully.
For more information about possible errors, see SDF return codes.