Adjusting GRPMAX when it is reached or it is too high

Before execution of the Change Accumulation utility, DBRC might determine that the change accumulation data sets are being reused and that the GRPMAX value must be changed. A command must be issued to correct this problem.

Situation 1 - The GRPMAX value is too low
  • The GRPMAX value was reached.
  • The oldest change accumulation data set cannot be reused because it is within the recovery period.
  • No available change accumulation data sets exist that can be used.
  • Message DSP1229A was displayed.
Either of the following actions resolves Situation 1:
  • Increase the GRPMAX value and define additional change accumulation data sets.
  • Change the recovery period so that the oldest change accumulation data set can be used.
To increase the GRPMAX value and to define additional change accumulation data sets, issue the CHANGE.CAGRP command and the INIT.CA commands as shown in the following examples. These examples assume that your CA group name is CAGRP1 and that your previous GRPMAX value was 10.
//CHNGCAG JOB
 
//SYSIN DD *
     CHANGE.CAGRP GRPNAME(CAGRP1)  -
                 GRPMAX(12)
/*
//INITIC JOB
 
//SYSIN DD *
     INIT.CA GRPNAME(CAGRP1) -
             CADSN(IMS.*.NEWCADSN1)
     INIT.CA GRPNAME(CAGRP1) -
             CADSN(IMS.*.NEWCADSN2)
/*
To change the recovery period so that the oldest change accumulation data set can be used, issue the CHANGE.CAGRP command with the RECOVPD keyword, as follows:
//CHNGCAG JOB
//SYSIN DD *
      CHANGE.CAGRP GRPNAME(CAGRP1) RECOVPD(10)
Situation 2 - The GRPMAX value is too high
  • The GRPMAX value has not been reached so the in-use change accumulation data sets cannot be used.
  • No available change accumulation data sets exist that can be used.
  • Message DSP0085I was displayed.
  • No recovery period is defined.
Either of the following actions resolves Situation 2:
  • Issue the INIT.CA command to define a new change accumulation data set for the identified CA group.
  • Issue the CHANGE.CAGRP command to lower the GRPMAX value.
Attention: If the GRPMAX value is lowered by using the CHANGE.CAGRP command, the GRPMAX value is recorded regardless of whether the oldest change accumulation data sets can be deleted, because they are within the recovery period.