Online DBRC commands

The /RMCHANGE command is one of a set of IMS commands that control DBRC utility functions; IMS responds to them by issuing corresponding commands directly to DBRC.

The following table shows these commands and their recommended uses.

Table 1. DBRC commands and functions
Command Recommended use
/RMCHANGE

Alter a database sharing level
Prevent other subsystem authorization
Set or remove backout-required status

/RMDELETE

Remove database record and associated status
Delete subsystem with unauthorized databases
Remove area data set (ADS) record and associated status

/RMGENJCL

Generate online recovery jobs

/RMINIT

Register a new database
Start control of an area data set

/RMLIST

Obtain recovery and authorization information for a database or ADS

/RMNOTIFY

Reset a system status

If you want to change the share level of a registered database (named ORDERDB) from intraprocessor block-level data sharing (share-level 2) to interprocessor block-level data sharing (share-level 3) to allow data sharing with another IMS system in another processor, enter:

/RMCHANGE DBRC='DB DBD(ORDERDB) SHARELVL(3)'

DBRC replies with its corresponding command input (CHANGE.DB DBD(ORDERDB) SHARELVL(3)) and a series of DBRC messages.

Do not enter the /RMCHANGE, /RMDELETE, or any command that alters the status of database records in the RECON data set while a job accesses the database. Stop the database using a global /DBRECOVERY DB or UPDATE DB STOP(ACCESS) command before modifying any RECON record for that database. Otherwise, IMS rejects the command with an error.

Related reading:  For full descriptions of these commands and their functions, see IMS Version 15.6 Commands, Volume 2: IMS Commands N-V.