REPLACEKEY supports the following values:
This option will not replace existing duplicate keys in the target file. Otherwise it inserts the source record into the target file. N is the default value.
This option replaces any duplicate keys in the target file with those from the source file. Otherwise, the source record is inserted.
This example syntax copies KSDS to KSDSO. If any duplicate keys are found, the record is not copied, processing continues, and the command returns a condition code of 4.
COPY, INFILE(KSDS), REPLACEKEY(N)
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|