RETRYERR

Valid for

Extract

Description

Use RETRYERR to retry errors encountered while outputting records. For example:

Syntax

RETRYERR {error_num | DEFAULT | EXPAND}
[, MAXRETRIES retries]
[, DELAY seconds]

error_num

Retries a particular error number.

DEFAULT

Retries Guardian errors not specifically dealt with in other RETRYERR entries.

EXPAND

Retries EXPAND-related errors. This does not cover TCP/IP-related problems.

MAXRETRIES retries

The number of retries before the process ends abnormally (default is 10). Set retries to zero to turn off retries for specific errors when a DEFAULT has been specified.

DELAY seconds

The number of seconds before the next retry (default is 20).

Example

The following example retries Error 45 every 30 seconds a maximum of 10 times, and retries Expand errors every minute for an hour.

RETRYERR 45, DELAY 30, MAXRETRIES 10
RETRYERR EXPAND, DELAY 60, MAXRETRIES 60