RETRYERR
Valid for
Extract
Description
Use RETRYERR
to retry errors encountered while outputting records. For example:
-
Extracted data is output to another node, and the network experiences a temporary problem. Rather than ending abnormally, you could specify a periodic retry of specific network-related errors numbers (such as 250).
-
A file in the trail fills up prematurely (error 45). Messages indicating the problem alert an operator to increase
MAXEXTENTS
on the file, after which processing would resume automatically.
Syntax
RETRYERR {error_num
| DEFAULT | EXPAND} [, MAXRETRIESretries
] [, DELAYseconds
]
-
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 aDEFAULT
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