Database control

You can use the type-1 /DBDUMP DB or type-2 UPDATE DB commands to control databases and access to databases.

Use the /DBDUMP DB or UPDATE DB STOP(UPDATES) command to stop online update access to a database so that you can produce an offline dump of the database.

Use the /DBRECOVERY DB or UPDATE DB STOP(ACCESS) command to stop all online access to a database. Use it to recover a database offline.

Normally, IMS switches to using the next OLDS when you enter the /DBDUMP or /DBRECOVERY command. This switch does not occur if you specify the NOFEOV keyword on either command. When you enter the UPDATE DB STOP(ACCESS) command to stop online access to the database, IMS does not switch to the next OLDS. You can specify OPTION(FEOV) if you want IMS to switch to the next OLDS.

Specify the GLOBAL keyword on the /DBDUMP or /DBRECOVERY command to have the command apply to all subsystems sharing the database. The IRLM must be active if you use this keyword. The default is LOCAL, which specifies that the command applies only to the subsystem on which you enter the command.