Scheduling a batch updater

Given the following initial and target configurations, use this scenario to schedule a batch updater.

  • Initial configuration
    • Database x (dbx) is registered at share level 1.
    • dbx is authorized for update access to an online IMS system (IMSA).
  • Target configuration
    • dbx is authorized for update access to a batch IMS system (IMSB).
    • dbx is authorized for read-only access to IMSA.

Follow these steps to schedule a batch updater:

Procedure

  1. Prevent other IMS systems from obtaining access to dbx with the following command: CHANGE.DB DBD (dbx) NOAUTH
  2. Suspend IMSA's activity on dbx, close dbx, and release IMSA's authorization with one of the following commands:
    • /DBRECOVERY DB dbxNOFEOV
    • UPDATE DB STOP(ACCESS) OPTION(FEOV)
    You can use the /DBRECOVERY or UPDATE command for a DEDB area by specifying AREA area instead of DB.
  3. Allow read-only processing from IMSA with one of the following commands:
    • /START DATABASE dbx ACCESS=RO
    • UPDATE DB NAME dbx START(ACCESS) SET(ACCTYPE(READ))
  4. Allow IMSB to initialize with the following command: CHANGE.DB DBD (dbx) AUTH
  5. Start IMSB with update access to dbx.