OVERWRITE – Whether to overwrite an object during rename
When using NEW_
prefixes for fields
when using Batch Loader in UPDATE
or COPY
mode,
they will result in a new name for the object. This new name might
point to another pre-existing object. By default, the update fails.
The OVERWRITE
option enables you to modify
this behaviour to allow the replacement of the existing object.
N
- The
UPDATE
orCOPY
fail if the newly named object already exists. Y
- The pre-existing object is replaced by the copied or renamed object. The warning message EQQI144W is issued.
Note: This works only when the Batch Loader statements refer to an
individual object. If wildcards are used in the batch loader key fields,
or
USELIST
is used, the command fails if the
newly named object already exists. In these instances additional Workload Automation Programming Language commands
must first delete the destination objects.