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.

Error
Warning

Regardless of the value of the SHARE keyword, the Online Reorg function and the Reorg function always require exclusive control during the data set name swapping process. If you attempt a multiple step JCL allocation, exclusive control is lost and the database becomes unavailable.

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.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MAXM Reorg for IMS 5.0 and MAXM Reorg for IMS with Online/Defrag Feature 5.0