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
- Prevent other IMS systems
from obtaining access to dbx with the following
command:
CHANGE.DB DBD (dbx) NOAUTH
- 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.
- 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))
- Allow IMSB to initialize with the following command: CHANGE.DB
DBD (dbx) AUTH
- Start IMSB with update access to dbx.