After expanding the ACF2 VSAM databases, how can the SWITCH command be used to switch to the alternate databases?

Document ID : KB000028483
Last Modified Date : 14/03/2019
Show Technical Document Details
Introduction:

The GSO RULEOPTS RULELONG was specified to increase the record size to a size greater than the default 4k. The ACF2 VSAM RULES and INFOSTG database record sizes were increased to 16K. Now when trying to use the "SWITCH" command to switch the ACF2 databases, getting:

ACF79351 INVALID CI SIZE
Reason:
When issuing the F ACF2,SWITCH(DDSN list name) command, it is required that the initial start-up and alternate databases defined in the ACFFDR be equivalent in terms of rule size.

ACF79355 DATABASE SWITCH FAILED
Reason:
The database switch command was not executed. This could be because the datasets defined in the initial start-up or alternate DDSN list of the ACFFDR could not be allocated or opened, the SWCHKEY field of the GSO OPTS record needs to be set, there is a dataset with an invalid CI size, or the initial start-up or alternate DDSN list name was not defined in the ACFFDR.

Question:

Why does the "SWITCH" command fail with the ACF79351 and ACF79355 messages?

Answer:

The primary and alternate databases should be equivalent in terms of rule sizes, and mirror images of each other to help prevent the loss of data. If you wish to switch to non-equivalent databases, you must stop and restart CA ACF2. Since the ALT databases are 4k, and the new PRIMARY databases are 16k, the SWITCH command fails. 

P ACF2
S ACF2 <== the default START is the primary databases, so that will resolve the problem. ACF2 can be started pointing to other databases defined in the ACFFDR.



 

Additional Information:
For more details regarding the "SWITCH command see section Switch Databases in the ACF2 documentation.