REORG TABLESPACE[S]
databasePattern.tableSpacePattern
You can use the percent (%) and underscore (_) symbols as wildcards to construct an SQL query that obtains all table spaces that match the specified pattern:
- Use % to represent any character string.
- Use _ to represent a single character.
A line will print on SYSPRINT and SUMMARY for each object found.
Specify databaseName.% to reorganize all the table spaces in a database. In the following example, every table space beginning with the character 'A' in the database BIGDBASE will be reorganized:
OBJECTSET objectSetName
Specify the name of an existing object set to have BMC AMI Reorg reorganize all table spaces defined in that object set.
You can define object sets in the DASD MANAGER PLUS for Db2 product. For more information about object sets using DASD MANAGER PLUS, see the Defining and maintaining object sets.
You cannot use the following options when using an object set: