Making an image copy with exclusive control

Given the following initial and target configurations, use this scenario to make an image copy of a database data set with exclusive control.

  • Initial configuration
    • dbx is registered for database-level sharing.
    • 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
    • An image copy of database dbx (data set y).

Follow these steps to make an image copy with exclusive control:

Procedure

  1. Prevent other IMS systems from obtaining access with the following command: CHANGE.DBDS DBD(dbx) DDN(y) ICON

    Use the DBRC CHANGE.DBDS command with the ICON keyword to indicate (in the RECON data set) that an image copy is needed. This indication prevents any IMS system except the Image Copy utility from obtaining access to the database.

  2. Suspend IMS system activity on dbx and close dbx in all sharing IMS systems with one of the following commands:
    • /DBRECOVERY DB dbx NOFEOV
    • UPDATE DB STOP(ACCESS) OPTION(FEOV)
  3. Run the Online Database Image Copy utility (DFSUICP0).

    When this utility completes successfully, it removes the indication in the RECON data set that an image copy is needed, so that DBRC can authorize IMS systems to access the database.

  4. Resume IMS system activity on dbx with one of the following commands:
    • /START DB dbx
    • UPDATE DB START(ACCESS)