Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

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.

Related topic

ON DUPLICATEDS syntax diagram

GUID-4BCDA5FE-6063-4A45-BE5E-EF14083D07D4-low.png

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.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Copy for Db2 13.1