Removing an MSDB database dynamically from an online IMS system

Because MSDB databases reside in the extended common storage area (ECSA), removing an MSDB database from an online system requires an IMS restart with MSDBLOAD specified.

To remove an MSDB database from an online IMS system:

Procedure

  1. Delete the MSDB database from the MSDBINIT data set by using the MSDB Maintenance utility (DBFDBMA0).
  2. Remove the MSDB database (the BHDR control block) from the ACB library by using the online change function.
  3. Remove references to the MSDB database from any PSBs.
  4. Shut down IMS normally.
  5. Warm start IMS with MSDBLOAD keyword. Because an MSDBINIT data set no longer exists and there is no entry for it in the ACBLIB, IMS recognizes the database, but not as an MSDB database.
  6. Issue /DBR command against the MSDB database. The /DBR command is allowed against the database because IMS no longer recognizes the database as an MSDB.
  7. Issue the command DELETE DB NAME(MSDB_name).