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

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

book

Article ID: 28483

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC PanApt PanAudit

Issue/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.



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

Environment

Release: ACF2..001AO-15-ACF2
Component:

Resolution

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.