Using BMC AMI Recovery Manager object sets
You can set up object set in the
BMC AMI Recovery Manager for Db2
product.
BMC AMI Copy allows you to identify both table spaces and index spaces in group for processing by BMC AMI Copy. BMC AMI Copy supports Unicode names for objects in groups.
RMGROUP, RMGROUPTS, and OBJECTSET are provided as alternatives in the object list for the COPY, COPY IMAGECOPY, QUIESCE, RECALL, and MODIFY commands. Once the group is defined using BMC AMI Recovery Manager, BMC AMI Copy can use BMC Common Db2 repository to identify the objects in the group.
Indexes are not picked up from the group when you use RMGROUP or RMGROUPTS. To identify indexes, either use the INDEXES YES option with RMGROUP or RMGROUPTS, or you can use the RMGROUPIX.
The RMGROUPIX option in BMC AMI Copy identifies only the index spaces that are included in the group. RMGROUPIX is provided as an alternative for the COPY, COPY IMAGECOPY, and MODIFY commands.
Dynamic group, which was introduced in BMC AMI Copy version 9.2.00, resolves the table space and index object names for inclusion with the BMC AMI Copy commands that support group types.
We recommend using the OBJECTSET syntax in place of the RMGROUP syntax. Following are some examples of the use of the OBJECTSET syntax:
Syntax | Objects copied |
|---|---|
OBJECTSET A.B | Copy table and index spaces named in the group. |
TABLESPACE OBJECTSET A.B (synonymous with existing RMGROUPTS A.B syntax) | Copy all table spaces in the group. |
TABLESPACE OBJECTSET A.B INDEXES YES (synonymous with RMGROUPIX A.B) | Copy all table spaces named in the group along with all their associated indexes, regardless of what indexes are in the group. |
INDEXSPACE OBJECTSET A.B | Copy all index spaces named in the group. |
INDEX OBJECTSET A.B | Copy all indexes named in the group. |
BMC AMI Copy automatically resolves object names using the BMC Common Db2 repository and the Db2 catalog. If an object in the group no longer exists, BMC AMI Copy issues a warning message BMC180068W and continues.
For more information about the object set in BMC AMI Recovery Manager, see the BMC AMI Recovery Manager for Db2 documentation.