DBSHARE control statement

Specifies whether read access for the database is allowed while the database is being reorganized.

This control statement is optional. The default is DBSHARE=NO.

Read syntax diagramSkip visual syntax diagramDBSHARE=NOYES
NO
Specifies that the access to the database is prohibited. Exclusive authorization must be acquired.
YES
Specifies that the read-only access to the database is allowed while the database is being reorganized.

In either case, the action taken by Reorganization Manager when the required authorization is not acquired depends on the AUTHFAIL option. See AUTHFAIL control statement.

To enable the DBSHARE control statement, DBRC must be active and the database and its indexes must be registered to DBRC.