Lowering the share level of a database
Given the following initial and target configurations, use this scenario to lower the share level of a database.
- Initial configuration
- dbx is authorized for update access to an online IMS system (IMSA).
- dbx is authorized for read-only access to another online IMS system (IMSB).
- Target configuration
- dbx is authorized for exclusive control by IMSA.
Follow these steps to lower the share level:
Procedure
You can also achieve the same results by modifying the sharing level of the database in the RECON data set instead of changing the access intent of IMSA. Omit the /START DATABASE command with the ACCESS= keyword and perform the following step before step 3:
- Request DBRC to enforce exclusive control:
CHANGE.DB DBD(dbx) SHARELVL(0)In this case, DBRC grants database authorization at the requested level, and IMSA owns the database exclusively.