Use the SPDSAUNQ= macro
variable setting to specify whether to cancel an append to a table
if the table has a unique index and the append would violate the index
uniqueness.
Use SPDSAUNQ=YES macro
variable to improve append performance to a table with unique indexes.
If uniqueness is not maintained, the append is canceled and the table
is returned to its state before the append. In such an instance, you
can scrub the table to remove nonunique values and redo the append
with the macro variable SPDSAUNQ= set to YES. The other alternative
is to simply redo the append with the macro variable SPDSAUNQ= set
to NO.
If SPDSAUNQ=NO, the
SPD Server will enforce uniqueness at the expense of appending unique
indexes in observation order one row at a time. If uniqueness is not
maintained for any given row, that row is discarded from the append.