-e
Directs Collector to respond to specific formatting error conditions in custom ways. Default values are almost always sufficient. To specify more than one error type, use -e
multiple times. For example:
-e OLD CONTINUE -e NEW DISCARD.
Syntax
-e type action
-
e
-
Must be lower case.
-
type
-
Specifies the type of error that generates the response and can be one of the following:
-
NEW
-
Checks for records that contain more data than anticipated (more columns than the current definition). The Collector process may need an updated version of the source table (that is, DEFGEN must be run again). The default action is
ABEND
. -
OLD
-
Checks for records that contain less data than anticipated. This usually indicates that a record has fewer columns than the table's current definition, which is considered a normal condition. The default action is
CONTINUE
. -
OUTOFSYNC
-
Checks for records that cannot be converted according to the definition provided. The default action is
ABEND
.
-
-
action
-
Specifies the response to the error and can be one of the following:
-
ABEND
-
Discards the record and directs the Extract process to end immediately.
-
CONTINUE
-
Processes the record (if possible) regardless of the conversion error encountered.
-
DISCARD
-
Outputs the record to a discard file (if one is specified with
–x
). Collector sends a warning to the error file for the first discarded record and continues to process records.
-