Using the CHANGE.DBDSGRP command
IMS provides the parameters, ADDRECOV and DELRECOV for the CHANGE.DBDSGRP DBRC command.
Use ADDRECOV to identify one or more full-function databases, HALDB partitions, and DEDB areas to add to a recovery group.
Use DELRECOV to identify one or more full-function databases, HALDB partitions, and DEDB areas to delete from a recovery group.
In the following example, the first CHANGE.DBDSGRP command adds members to the recovery group and the second command deletes members from the recovery group:
//CHANGEG1 JOB
//S01 EXEC PGM=DSPURX00,...
.
.
.
//SYSIN DD *
CHANGE.DBDSGRP GRPNAME(DBDSG1) -
ADDRECOV(DB4,DB5)
CHANGE.DBDSGRP GRPNAME(DBDSG1) -
DELRECOV(DB1,DB2)
/*