OBJECTSET specification
- RECOVER TABLESPACE OBJECTSET creator.name
- RECOVER TABLESPACE OBJECTSET recovers only the table spaces in the group.
RECOVER TABLESPACE OBJECTSET creator.name INDEXES YES
RECOVER TABLESPACE OBJECTSET... INDEXES YES recovers the table spaces in the group along with their associated indexes.
RECOVER INDEX OBJECTSET creator.name
RECOVER INDEX OBJECTSET recovers only the indexes in the group.
The following rules apply to creator.name:
- creator specifies the name of the creator of the group and can have up to 128 characters in length.
- name species the group name and can have up to 128 characters in length.
- You can delimit both creator and name with single or double quotation marks.
- Both creator and name can contain the special characters $, #, and @ in any position.
BMC AMI Recover uses dynamic grouping to determine the group contents at the time that you run the BMC AMI Recover job containing the OBJECTSET option. Because BMC AMI Recover reads the objects in the group each time the job is executed, objects might be added or removed from the group.
Following are restrictions that apply when you use OBJECTSET in any of its forms on the RECOVER statement:
- AUX is ignored with any specification of OBJECTSET.
- You cannot specify DSNUM with OBJECTSET. BMC AMI Recover uses the group definition for the object.
- You can specify OBIDXLAT with OBJECTSET only when all the OBID specifications can be omitted. For information about OBIDXLAT, see OBIDXLAT-specification.
- Only TOCOPY LASTCOPY is valid with OBJECTSET. (You cannot use a specific data set name.)
- You cannot use INLOG with OBJECTSET.
- BMC AMI Recover allows only one OBJECTSET clause, and the statement can not contain additional TABLESPACE, INDEX, or INDEXSPACE clauses.
When you use OBJECTSET, if BMC AMI Recover tries to recover a group of objects and more than 10 of the objects are unrecoverable, BMC AMI Recover issues an error for each object that is unrecoverable, and discontinues further processing of the group. This behavior is based on the ERRCONT option which has a default value of 10. To avoid this behavior, set the ON ERROR CONTINUE option with a value that will exceed the possible number of errors in the group, and the recovery will be complete.
EXCLUDE (dbname.ts or qualifier.ix) | Use the EXCLUDE option after an OBJECTSET specification to exclude one or more objects from recovery. You can use wildcards or fully qualified names to specify the exclusions. The following wildcards are valid:
List the excluded objects following the EXCLUDE keyword. Each item in the list must be in the form dbname.ts or qualifier.ix and you must separate the individual items with commas. Enclose the list in parentheses. The following considerations apply to the use of the EXCLUDE option with the OBJECTSET specification:
|
---|
OBIDXLAT
Use the OBIDXLAT keyword to change the internal IDs in the Db2 table space or index as the table space or index is recovered.
RESET | The RESET keyword causes the log points in each data page to be reset to 0. You must specify RESET when you are migrating data from one Db2 non-data-sharing system to another because the log point values on the first subsystem is meaningless or misleading on the target Db2. The recovery log point and level fields in the header page are also reset to 0 if you are not using the INDEPENDENT OUTSPACE option. If you are using the INDEPENDENT OUTSPACE option, the level fields are reset but the recovery log point is not. |
---|