ON DUPLICATEDS
The ON DUPLICATEDS option allows you to specify what action
BMC AMI Copy
is to take if a copy data set is already registered in SYSCOPY or BMCXCOPY.
ON DUPLICATEDS syntax diagram

Values of DUPLICATEDS
Value | Description |
|---|---|
ON DUPLICATEDS ERROR | (Default) ON DUPLICATEDS ERROR indicates BMC AMI Copy is to terminate processing if the data set is already registered in SYSCOPY or BMCXCOPY. |
ON DUPLICATEDS DELETE | ON DUPLICATEDS DELETE allows BMC AMI Copy to continue when a data set is already registered in SYSCOPY or BMCXCOPY. When BMC AMI Copy registers the new copy, it will delete the row containing the duplicate data set in SYSCOPY or BMCXCOPY. Only rows for the identical Db2 object will be deleted. The DSNAME, DBNAME, TSNAME (IXNAME), and DSNUM must be the same before the row will be deleted. |
Related topic