Recording the image copy within DBRC
There is no limit to the number of image copy data sets you can create, but no more than two image copy data sets can be recorded within DBRC. You can control which image copy data set or data sets are recorded by using the NOTIFY keyword:
NOTIFY=YES (the default) indicates that the image copy data set is eligible to be recorded in DBRC unless an error occurs during the creation of the image copy data set.
NOTIFY=NO indicates that the image copy data set is not eligible to be recorded in DBRC even if no errors occur during the creation of the image copy data set. This option can be useful when producing an image copy that is intended for offsite recovery purposes.
If more than two image copy data sets are created successfully, the first two eligible image copies (in the order that the IC subcommands are specified) are recorded within DBRC.
The example in Recording the image copy within DBRC requests the creation of three output image copies. The first two image copies are eligible to be recorded within DBRC, but the third image copy is not eligible. If an error occurs during creation of the first image copy, it is not recorded; the second image copy is the only image copy recorded, since the third image copy is not eligible because NOTIFY=NO is specified. If NOTIFY=YES was specified on the third image copy, it would have been recorded in DBRC if an error had occurred during creation of the first image copy.
REORGANIZE DBD=dbdname,IAREA=areaname IC DDNAME=ddname1, NOTIFY=YES IC DDNAME=ddname2, NOTIFY=YES IC DDNAME=ddname3, NOTIFY=NO