SHARE
The SHARE keyword is valid with the REORG (Online Reorg function and Reorg function) command.
You can specify this option in a Reorg function global options module or in PLUSIN. The following table describes the keyword.
Table 1. Read/update access to the database keyword
To do this | Specify this in PLUSIN |
---|---|
Enable users to have read access to the database during the reorganization (Reorg function). | SHARE(YES) orSHARE(YES,READ) |
Give the Reorg function exclusive control of the database during the reorganization. | SHARE(NO) |
Enable users to have update access to the database during the reorganization (Online Reorg function). | SHARE(YES,UPDATE) |
Internal default: NO |
The SHARE keyword specifies whether users can have read or update access to the database during reorganization.
DBRC must be active and the databases must be registered for SHARE(YES) to be valid.
In the Reorg function, if you want to reorganize only selected partitions of a partitioned database, you must specify SHARE(YES). In the Online Reorg function, you cannot reorganize selected partitions of a partitioned database. For more information, see PART-database-partitioning.